12 March 2010
I noticed that there are many people comparing Matlab with Maple, Mathematica etc. to find out what’s the best Maths package for them. But many of them didn’t realize the limitations of Matlab. I put up an article about the Birthday Problem in probability, If you try to solve it analytically like:
[cc lang='matlab' ]
1 – [...]
[Click to cite this article]
[hide academic citations]
AMA citation:
Jiang W. Example of the Matlab Precision Issue. Stone Studio. 2010. Available at: http://wei-jiang.com/programming/matlab/example-of-the-matlab-precision-issue. Accessed September 3, 2010.
APA citation:
Jiang, Wei. (2010). Example of the Matlab Precision Issue. Retrieved September 3, 2010, from Stone Studio Web site, http://wei-jiang.com/programming/matlab/example-of-the-matlab-precision-issue
Chicago citation:
Jiang, Wei, "Example of the Matlab Precision Issue", Stone Studio, posted March 12, 2010, http://wei-jiang.com/programming/matlab/example-of-the-matlab-precision-issue (accessed September 3, 2010).
Harvard citation:
Jiang, W 2010, Example of the Matlab Precision Issue, Stone Studio. Retrieved September 3, 2010, from <http://wei-jiang.com/programming/matlab/example-of-the-matlab-precision-issue>
MLA citation:
Jiang, Wei. "Example of the Matlab Precision Issue." Stone Studio. 12 Mar. 2010. 3 Sep. 2010 <http://wei-jiang.com/programming/matlab/example-of-the-matlab-precision-issue>
Thank you for your interest.
20 February 2010
EigTool is a free MATLAB package for computing pseudospectra of dense and sparse matrices. It also provides a graphical interface to MATLAB’s built-in eigs routine (ARPACK) for large-scale eigenvalue computations. EigTool was developed from 1999 – 2002 by Thomas G. Wright at the Oxford University Computing Laboratory, under the direction of Nick Trefethen. The software [...]
[Click to cite this article]
[hide academic citations]
AMA citation:
Jiang W. EigTool: Matlab Package for Computing Pseudospectra of Dense and Sparse Matrices. Stone Studio. 2010. Available at: http://wei-jiang.com/programming/matlab/eigtool-matlab-package-for-computing-pseudospectra-of-dense-and-sparse-matrices. Accessed September 3, 2010.
APA citation:
Jiang, Wei. (2010). EigTool: Matlab Package for Computing Pseudospectra of Dense and Sparse Matrices. Retrieved September 3, 2010, from Stone Studio Web site, http://wei-jiang.com/programming/matlab/eigtool-matlab-package-for-computing-pseudospectra-of-dense-and-sparse-matrices
Chicago citation:
Jiang, Wei, "EigTool: Matlab Package for Computing Pseudospectra of Dense and Sparse Matrices", Stone Studio, posted February 20, 2010, http://wei-jiang.com/programming/matlab/eigtool-matlab-package-for-computing-pseudospectra-of-dense-and-sparse-matrices (accessed September 3, 2010).
Harvard citation:
Jiang, W 2010, EigTool: Matlab Package for Computing Pseudospectra of Dense and Sparse Matrices, Stone Studio. Retrieved September 3, 2010, from <http://wei-jiang.com/programming/matlab/eigtool-matlab-package-for-computing-pseudospectra-of-dense-and-sparse-matrices>
MLA citation:
Jiang, Wei. "EigTool: Matlab Package for Computing Pseudospectra of Dense and Sparse Matrices." Stone Studio. 20 Feb. 2010. 3 Sep. 2010 <http://wei-jiang.com/programming/matlab/eigtool-matlab-package-for-computing-pseudospectra-of-dense-and-sparse-matrices>
Thank you for your interest.
20 February 2010
The aim of the chebfun system is to “feel symbolic but run at the speed of numerics”. More precisely our vision is to achieve for functions what floating-point arithmetic achieves for numbers: rapid computation in which each successive operation is carried out exactly apart from a rounding error that is very small in relative terms [...]
[Click to cite this article]
[hide academic citations]
AMA citation:
Jiang W. ChebFun: Matlab Toolbox Numerical computation. Stone Studio. 2010. Available at: http://wei-jiang.com/programming/matlab/chebfun-matlab-toolbox-numerical-computation. Accessed September 3, 2010.
APA citation:
Jiang, Wei. (2010). ChebFun: Matlab Toolbox Numerical computation. Retrieved September 3, 2010, from Stone Studio Web site, http://wei-jiang.com/programming/matlab/chebfun-matlab-toolbox-numerical-computation
Chicago citation:
Jiang, Wei, "ChebFun: Matlab Toolbox Numerical computation", Stone Studio, posted February 20, 2010, http://wei-jiang.com/programming/matlab/chebfun-matlab-toolbox-numerical-computation (accessed September 3, 2010).
Harvard citation:
Jiang, W 2010, ChebFun: Matlab Toolbox Numerical computation, Stone Studio. Retrieved September 3, 2010, from <http://wei-jiang.com/programming/matlab/chebfun-matlab-toolbox-numerical-computation>
MLA citation:
Jiang, Wei. "ChebFun: Matlab Toolbox Numerical computation." Stone Studio. 20 Feb. 2010. 3 Sep. 2010 <http://wei-jiang.com/programming/matlab/chebfun-matlab-toolbox-numerical-computation>
Thank you for your interest.
8 February 2010
COLEA: A software tool for speech analysis
PESQ and other objective measures for evaluating quality of speech processed by noise suppression algorithms [composite.zip]
Relevant references:
Quality Assessment: Hu, Y. and Loizou, P. (2008). “Evaluation of objective quality measures for speech enhancement,” IEEE Transactions on Speech and Audio Processing, 16(1), 229-238.
Intelligibility Assessment: Ma, J., Hu, Y. [...]
[Click to cite this article]
[hide academic citations]
AMA citation:
Jiang W. Three Matlab Software Tools for Speech Analysis. Stone Studio. 2010. Available at: http://wei-jiang.com/programming/matlab/a-matlab-software-tool-for-speech-analysis-colea. Accessed September 3, 2010.
APA citation:
Jiang, Wei. (2010). Three Matlab Software Tools for Speech Analysis. Retrieved September 3, 2010, from Stone Studio Web site, http://wei-jiang.com/programming/matlab/a-matlab-software-tool-for-speech-analysis-colea
Chicago citation:
Jiang, Wei, "Three Matlab Software Tools for Speech Analysis", Stone Studio, posted February 8, 2010, http://wei-jiang.com/programming/matlab/a-matlab-software-tool-for-speech-analysis-colea (accessed September 3, 2010).
Harvard citation:
Jiang, W 2010, Three Matlab Software Tools for Speech Analysis, Stone Studio. Retrieved September 3, 2010, from <http://wei-jiang.com/programming/matlab/a-matlab-software-tool-for-speech-analysis-colea>
MLA citation:
Jiang, Wei. "Three Matlab Software Tools for Speech Analysis." Stone Studio. 8 Feb. 2010. 3 Sep. 2010 <http://wei-jiang.com/programming/matlab/a-matlab-software-tool-for-speech-analysis-colea>
Thank you for your interest.
1 February 2010
A Simple Example
[cc lang="matlab"]
clear all; close all; clc;
f0 = 10;
N = 1024;
t = linspace(0,10,N); NFFT = 2^nextpow2(N);
fs = 1/(t(2)-t(1));
aa = 0.001:0.002:0.5; L = length(aa);
for kk = 1:L
a = aa(kk);
ff = f0 – a*t;
y = cos(2*pi*ff.*t);
periodogram(y,[],NFFT,fs); vline(f0); ylim([-50,2])
[...]
[Click to cite this article]
[hide academic citations]
AMA citation:
Jiang W. Howto Animate Graphs in Matlab. Stone Studio. 2010. Available at: http://wei-jiang.com/programming/matlab/howto-animate-graphs-in-matlab. Accessed September 3, 2010.
APA citation:
Jiang, Wei. (2010). Howto Animate Graphs in Matlab. Retrieved September 3, 2010, from Stone Studio Web site, http://wei-jiang.com/programming/matlab/howto-animate-graphs-in-matlab
Chicago citation:
Jiang, Wei, "Howto Animate Graphs in Matlab", Stone Studio, posted February 1, 2010, http://wei-jiang.com/programming/matlab/howto-animate-graphs-in-matlab (accessed September 3, 2010).
Harvard citation:
Jiang, W 2010, Howto Animate Graphs in Matlab, Stone Studio. Retrieved September 3, 2010, from <http://wei-jiang.com/programming/matlab/howto-animate-graphs-in-matlab>
MLA citation:
Jiang, Wei. "Howto Animate Graphs in Matlab." Stone Studio. 1 Feb. 2010. 3 Sep. 2010 <http://wei-jiang.com/programming/matlab/howto-animate-graphs-in-matlab>
Thank you for your interest.
28 January 2010
Assuming that the deterministic function y has additive Gaussian noise, evar(y) returns an estimated variance of this noise. A thin-plate smoothing spline model is used to smooth y. It is assumed that the model whose generalized cross-validation score is minimum can provide the variance of the additive noise. A few tests showed that evar works [...]
[Click to cite this article]
[hide academic citations]
AMA citation:
Jiang W. Howto Estimate Noise Variance in Matlab. Stone Studio. 2010. Available at: http://wei-jiang.com/programming/matlab/howto-estimate-noise-and-variance-in-matlab. Accessed September 3, 2010.
APA citation:
Jiang, Wei. (2010). Howto Estimate Noise Variance in Matlab. Retrieved September 3, 2010, from Stone Studio Web site, http://wei-jiang.com/programming/matlab/howto-estimate-noise-and-variance-in-matlab
Chicago citation:
Jiang, Wei, "Howto Estimate Noise Variance in Matlab", Stone Studio, posted January 28, 2010, http://wei-jiang.com/programming/matlab/howto-estimate-noise-and-variance-in-matlab (accessed September 3, 2010).
Harvard citation:
Jiang, W 2010, Howto Estimate Noise Variance in Matlab, Stone Studio. Retrieved September 3, 2010, from <http://wei-jiang.com/programming/matlab/howto-estimate-noise-and-variance-in-matlab>
MLA citation:
Jiang, Wei. "Howto Estimate Noise Variance in Matlab." Stone Studio. 28 Jan. 2010. 3 Sep. 2010 <http://wei-jiang.com/programming/matlab/howto-estimate-noise-and-variance-in-matlab>
Thank you for your interest.
28 January 2010
Damien Garcia has produced a 1-D to N-D robust smoothing matlab file to allow fast and robust smoothing of one-dimensional and multidimensional data w/wo missing values.
A simple example for signal:
y = cos(x/10)+(x/50).^2 + randn(size(x))/10;
y([70 75 80]) = [5.5 5 6];
is shown below:
In a continuous time domain, this might be like this:
You know [...]
[Click to cite this article]
[hide academic citations]
AMA citation:
Jiang W. Robust Signal Smoothing Method in Matlab (smoothN). Stone Studio. 2010. Available at: http://wei-jiang.com/programming/matlab/robust-signal-smoothing-method-in-matlab-smoothn. Accessed September 3, 2010.
APA citation:
Jiang, Wei. (2010). Robust Signal Smoothing Method in Matlab (smoothN). Retrieved September 3, 2010, from Stone Studio Web site, http://wei-jiang.com/programming/matlab/robust-signal-smoothing-method-in-matlab-smoothn
Chicago citation:
Jiang, Wei, "Robust Signal Smoothing Method in Matlab (smoothN)", Stone Studio, posted January 28, 2010, http://wei-jiang.com/programming/matlab/robust-signal-smoothing-method-in-matlab-smoothn (accessed September 3, 2010).
Harvard citation:
Jiang, W 2010, Robust Signal Smoothing Method in Matlab (smoothN), Stone Studio. Retrieved September 3, 2010, from <http://wei-jiang.com/programming/matlab/robust-signal-smoothing-method-in-matlab-smoothn>
MLA citation:
Jiang, Wei. "Robust Signal Smoothing Method in Matlab (smoothN)." Stone Studio. 28 Jan. 2010. 3 Sep. 2010 <http://wei-jiang.com/programming/matlab/robust-signal-smoothing-method-in-matlab-smoothn>
Thank you for your interest.
28 January 2010
cloudPlot will help visualize the distribution of a 2-dimensional dataset. It is especially helpful when looking at extremely large datasets where a redular plot(x,y,’.’) will just fill the plot with a solid color because the measurement points overlap each other. cloudPlot uses the built-in matlab routines to set the axis limits and grid points appropriate [...]
[Click to cite this article]
[hide academic citations]
AMA citation:
Jiang W. cloudPlot – Matlab function to plot the distribution of 2-dimensional data.. Stone Studio. 2010. Available at: http://wei-jiang.com/programming/matlab/cloudplot-matlab-function-to-plot-the-distribution-of-2-dimensional-data. Accessed September 3, 2010.
APA citation:
Jiang, Wei. (2010). cloudPlot – Matlab function to plot the distribution of 2-dimensional data.. Retrieved September 3, 2010, from Stone Studio Web site, http://wei-jiang.com/programming/matlab/cloudplot-matlab-function-to-plot-the-distribution-of-2-dimensional-data
Chicago citation:
Jiang, Wei, "cloudPlot – Matlab function to plot the distribution of 2-dimensional data.", Stone Studio, posted January 28, 2010, http://wei-jiang.com/programming/matlab/cloudplot-matlab-function-to-plot-the-distribution-of-2-dimensional-data (accessed September 3, 2010).
Harvard citation:
Jiang, W 2010, cloudPlot – Matlab function to plot the distribution of 2-dimensional data., Stone Studio. Retrieved September 3, 2010, from <http://wei-jiang.com/programming/matlab/cloudplot-matlab-function-to-plot-the-distribution-of-2-dimensional-data>
MLA citation:
Jiang, Wei. "cloudPlot – Matlab function to plot the distribution of 2-dimensional data.." Stone Studio. 28 Jan. 2010. 3 Sep. 2010 <http://wei-jiang.com/programming/matlab/cloudplot-matlab-function-to-plot-the-distribution-of-2-dimensional-data>
Thank you for your interest.