This code provides a two simple examples of naive Bayes classifier.
In the first example the input are a bunch of positive and negative numbers and their corresponding classes i.e. posi or negi and is tested with random numbers.
In the second example the input are numbers and task is to classify into groups such that # from 1-10 are in class 0, 11-20 are in class 10, # 21-30 in class 20..... # 41-50 in class 40 etc.
The Mahalanobis distance between a pattern measurement vector of dimensionality D and the center of the class it belongs to is distributed as a chi^2 with D degrees of freedom, when an infinite training set is used. However, the distribution of...
It is known that there is no sufficient Matlab program about neuro-fuzzy classifiers. Generally, ANFIS is used as classifier. ANFIS is a function approximator program. But, the usage of ANFIS for classifications is unfavorable. For example, there...
It can be seen as a introduction to Bayesian classification, or Matlab plotting.
function ret = drawBayesGauss2D(mu,c,prProb,ax)
% Draw Bayes classification results for 2D Gaussian distributions.
% mu: 2-by-N, mean vector for N...
This code, when passed a MATLAB structure, will recursively go into it and print out the form of the struct.
The DEMO includes 5 feature selection algorithms:
d-deD? Sequential Forward Selection (SFS)
d-deD? Sequential Floating Forward Selection (SFFS)
d-deD? Sequential Backward Selection (SBS)
d-deD? Sequential Floating Backward...
VIDEO TUTORIAL: Serial communication (TX and RX) using SERIAL Matlab function. For Bluetooth and RS-232 devices applications. (Narration in Spanish).
If you need to access a remote machine from your Matlab session (for near-real time data transfer etc...) this set of functions allows you to programmatically send a single command and obtain the return values as a cell array.
This file is for begainers, who wanted to learn the MATLAB in short duration of time.
The attached zip file contains the slides, MATLAB M-files, and Simulink models that were used in the Fixed-Point Programming in MATLAB webinar from December 8, 2005 by Tom Bryan. The recorded webinar is linked off of the Fixed-Point Toolbox web page
A GENERALAZED CONVOLUTION COMPUTING CODE IN MATLAB WITHOUT USING MATLAB BUILTIN FUNCTION conv(x,h)
Includes webinar slides as a PDF file together with a MATLAB script and a Simulink model to demonstrate filter design, implementation and HDL code generation capabilities with MATLAB, Simulink and featured toolboxes
Digital Signal Processing: Principles and Applications examples and exercises using MATLAB Companion S
M-files accompanying the " Genetic Algorithms & New Optimization Methods in MATLAB " webinar.
These files provide what you need to run the two demos: Optimization of non-smooth objective function, and Optimization of a...
This submission contains the demo files used in the Global Optimization with MATLAB webinar: http://www.mathworks.com/wbnr43346
* Peaks Minimization
* Nonlinear Curve Fitting
The current submission illustrates a way to use the popular open source arduino boards with MATLAB illustrating the capabilities of data acquisition and visualization in real time .
The Arduino Demilanove based on the ATMEGA 328 is used...
INCA, the industry leading automotive ECU measurement and calibration tool from ETAS, provides a product add-on, the Matlab Integration Package, which allows Matlab (and therefore Matlab users) the abiltiy to access a majority of the capabilities...
Matlab's image processing toolkit provides functions for reading and writing DICOM medical image files, but it does not provide a full DICOM toolkit for networking, structured reports, etc. This example shows how to call the robust and open-source...
The file demonstrates interfacing Java with Matlab by using weka (Machine learning software, written in JAVA) as an example.
Explain why we use fftshift(fft(fftshift(x))) in Matlab instead of fft(x). An example is given. The example and Matlab codes are partially copied from Daniele Disco d-de?s work in "A guide to the Fast Fourier Transform, 2nd Edition".