Rank: 1699 based on 82 downloads (last 30 days) and 7 files submitted
photo

Matt

E-mail

Personal Profile:
Professional Interests:

 

Watch this Author's files

 

Files Posted by Matt View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
22 Oct 2013 Fast Chebyshev transform Fast computation of the Chebyshev transform Author: Matt spectral analysis, chebyshev 16 0
22 Oct 2013 Inverse fast Chebyshev transform Fast computation of the inverse Chebyshev transform Author: Matt spectral analysis, chebyshev 9 0
22 Oct 2013 Fast Chebyshev second order differentiation Fast computation of the second derivative of data located along Chebyshev points Author: Matt spectral analysis, chebyshev, numerical differentia... 3 0
22 Oct 2013 Fast Chebyshev differentiation Fast computation of the first derivative of data located along Chebyshev points Author: Matt spectral analysis, chebyshev, numerical differentia... 14 0
07 Jun 2013 Closest Finds the value in an array X closest to the scalar b. Author: Matt mathematics 7 2
  • 2.0
2.0 | 1 rating
Comments and Ratings on Matt's Files View all
Updated File Comment by Comments Rating
12 Jun 2013 Closest Finds the value in an array X closest to the scalar b. Author: Matt Crozier, Richard

John D'Errics's excellent ipdm http://www.mathworks.co.uk/matlabcentral/fileexchange/18937-ipdm-inter-point-distance-matrix is more advanced, and supports lots of distance metrics, use the 'nearestto' option to get similar results to your funtion.

07 Jun 2013 Closest Finds the value in an array X closest to the scalar b. Author: Matt Jos (10584)

[~,idx] = min(abs(X(:)-b))
c = X(idx)

would do.

Contact us