Quot
[coef, RSquared]=plotfit(x,y,polyorder)A simple function that accepts x,y data pairs in in the vectors "x" and "y", fits it to a polynomial of order "polyorder", plots the data and the fit, and displays the fit coefficients and the goodness-of-fit measure R-squared in the upper left corner of the...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (45): plotfit Download |
It calculate the arithmetic code of a string of char, subject to an alphabet "A" and a probability distribution "P". http://en.wikipedia.org/wiki/Arithmetic_coding
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (39): Simple Exemple of Arithmetic Coding Download |
the stationary signal f(t)=cos(2*pi*5*t)+ cos(2*pi*10*t)+ cos(2*pi*20*t)+ cos(2*pi*50*t)having frequencies of 5,10, 20and 50 Hz at any given time instant.MATLAB program can be implemented to plot the stationary signal mentioned above:Clear...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (49): evaluating SHORT TIME FOURIER TRANSFORM of a stationary signal Download |
Create a random matrix of a non-intercepting snake, like the game ("worm" or "snake"). Also described by filling a chessboard with dominos, except now the board can be rectangular, or any arbitrary shape (by changing the boarders).Uses an infinite loop to enumerate possibilities. There are a...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (39): domino tiles Download |
- picks reasonable limits and ticks- uses latex for pretty fractions if necessary- replaces old labels produced by previous calls- does NOT autocorrect on zoom/pan/resizealgorithm:- choose limits as smallest n such that pi/n < x_data_range- optional: increase n to next smallest "round" number -...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (50): pilabels Download |
SATGLOBE4 - This file is a higher-resolution version of "SATGLOBE," provided at the request of several users. SATGLOBE4 renders a fully manipulatable satellite view of earth at a resolution of four pixels per degree, with added international political boundaries and gridlines. The imagery was...
Platforms: Matlab
License: Freeware | Size: 1.22 MB | Download (42): SATGLOBE4 - Visualizing Earth from Space: 3-D Rendering of NASA Satellite Imagery Download |
This script is capable of solving a convex quadratic programming problem by Wolf's method. For the convergence of the algorithm it is necessary that either Hessian of the objective function be positive definite or positive semidefinite Hessian with linear term zero. For theory of Wolf method and...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (43): Quadratic programming by Wolf's method Download |
These files are the MATLAB code for "Imperialist Competitive Algorithm (ICA)" which in some papers is referred by "Colonial Competitive Algorithm CCA".Evolutionary optimization methods, inspired from natural processes, have shown good performance in solving complex optimization problems. For...
Platforms: Matlab
License: Freeware | Size: 450.56 KB | Download (44): Colonial Competitive Algorithm (CCA) Download |
The main program is MAIN.mThis program will estimate the single source points present in theinstantaneous mixtures and using the estimated single source points the mixing matrix will be estimated. Then the error in mixing matrixestimation and the latest estimated mixing matrix will be...
Platforms: Matlab
License: Freeware | Size: 3.45 MB | Download (46): Mixing matrix estimation in instantaneous blind source separation Download |
This function file is basically for Passive Butterworth Filter for Low pass as well as for High Pass. In input it takes the Pass Band Attenuation, Band Stop attenuation, Band Pass Frequency, band stop frequency, and Filter Type. For Low Pass Type is "0" and for High Pass Type is "1".It finally...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (41): Butterworth Filter Download |
A set of 140 functions (plus support functions called by them) for analysis and display of exploration-seismic data and well logs. These functions read and write seismic data in standard SEG-Y format, read and write well logs in LAS-format 2.0, and perform many of the manipulations usually...
Platforms: Matlab
License: Freeware | Size: 1.59 MB | Download (61): SeisLab Download |
Copyright (C2010-2013) Yang XIAO, BJTU, April 16, 2010, E-Mail: yxiao@bjtu.edu.cn. This program can produce the Parity Check Matrices of DVBS2 codes, while Ref. [1] remindes you that these codes are not good as the LDPC codes IEEE802.16e for continuous bits' errors. Refenrences: [1] X. Huang, Y....
Platforms: Matlab
License: Freeware | Size: 20.48 KB | Download (44): Parity Check Matrices of DVBS2 codes Download |
For purposes of these tools, a quaternion, q, is just a four element vector where q(1:3) is the "imaginary" or "vector" portion of the hypercomplex number, and q(4) is the "real" or "scalar" portion. Consequently, if q represents a rotation, then: q(1) = v1*sin(phi/2) q(2) = v2*sin(phi/2) q(3) =...
Platforms: Matlab
License: Freeware | Size: 30.72 KB | Download (44): Quaternion Toolbox Download |
This file contains a funtion (mfile) and a simulink block. They both give the approximation of the saturation of a function between the values [-1,1]. The main advantage and purpose of designing this simple yet powerful function is to obtain a smooth funtion that has a continous derivative.It can...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (47): saturation function Download |
- Filter can be FIR or IIR.- Filter type can be lowpass, highpass, bandpass, or bandstop.- Direct methods or optimization ones can be used during the design procedure.In order to learn how you can use this toolbox, please copy all the codes included in the "Dig_Filter" folder into the current...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (44): Dig_Filter Download |
write_matrix_bin(f,m) saves the matrix "m" in a binaryfile "f". write_matrix_bin is a lot faster than the built in function save(), andtakes up much less diskspace than the old "save -v6" which doesn't use compression.write_matrix_bin also includes an option for compression with...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (53): Fast function to save a matrix Download |
A GUI wich use the matlab core function "fminsearch" to fit data with any multivariable function (with a "live" visualisation of the moving fitted curve). This function can be run with real equations, complex equations,and all other functions like step and bode. Simple to use.
Platforms: Matlab
License: Freeware | Size: 40.96 KB | Download (48): uifit Download |
These are the code examples used in the "What's New for Object-Oriented Programming in MATLABdlT«" webinar, which described the new object oriented features in Release 2008a.To use the code, add the top folder to your path. See the test* M-files and associated published HTML reports for code...
Platforms: Matlab
License: Freeware | Size: 112.64 KB | Download (46): What's New for Object-Oriented Programming in MATLAB Webinar - Code Examples Download |
This script will step through the process of readingdata from a NetCDF file.Missing Data, as flagged in the NetCDF file, will bereplaced with a NaN value (Not a Number).Data is read from the file, and saved to the caller'sworkspace. If the NetCDF provides data attributes"scale_factor" and...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (49): Reading and Animating a NetCDF file of Sea Surface Temperature Download |
ANALYSEEXCELFORMULAS Extracts formulas from an Excel workbook and lists them in several different ways to aid analysis. AnalyseExcelFormulas collects all the formulas and values from all the worksheets in an Excel file. It then creates a new Excel file with 2N+1 sheets in it (where N is the...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (40): AnalyseExcelFormulas Download |