File Exchange

image thumbnail

Chebyshev Point Spacing

version 1.0.0 (1.29 KB) by Basil C.
Find 'n' number of points on a function which are distributed based on chebyshev spacing

2 Downloads

Updated 06 Mar 2021

View License

Chebyshev Spacing, which is simply a kind of equal spacing around a circle, then projection onto the horizontal bisector of the circle

Cite As

Basil C. (2021). Chebyshev Point Spacing (https://www.mathworks.com/matlabcentral/fileexchange/88416-chebyshev-point-spacing), MATLAB Central File Exchange. Retrieved .

Comments and Ratings (1)

Stephen Cobeldick

Note that the loop is superfluous as this simple formula can be trivially vectorized:

xx = (UL+LL)/2 - (UL-LL)/2 * cos((2*(1:n)-1)*pi/(2*n))

Note that everyone has anonymous functions, but not everyone has the symbolic toolbox.

MATLAB Release Compatibility
Created with R2020b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!