sintran - Fast Sine Transform
Versione 1.0.0 (1,38 KB) da
Chen Eleven
Calculate the coefficient of sines for equal spaced samples between [0, pi]
Given equal sampled data points [x0,x1,...,xn] between [0,pi], approximate it with sines
i.e. a0 sin(0x) + a1 sin(1x) + a2 sin(2x) + ... + an sin(nx)
return [a0, a1, a2, ... , an] when second input argument = 1.
anything else for [a0, a1, a2, ... , an] to [x0,x1,...,xn]
A - original data in columns
B - transformed data in columns
direction - set equal to 1 for nodal to spectral
anything else for spectral to nodal
Eleven Shiyi Chen
Contact: sc7825@nyu.edu/ shiyic61@gmail.com
Cita come
Chen Eleven (2025). sintran - Fast Sine Transform (https://www.mathworks.com/matlabcentral/fileexchange/106790-sintran-fast-sine-transform), MATLAB Central File Exchange. Recuperato .
Compatibilità della release di MATLAB
Creato con
R2021b
Compatibile con qualsiasi release
Compatibilità della piattaforma
Windows macOS LinuxTag
Riconoscimenti
Ispirato da: Fast Chebyshev Transform (1D)
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Scopri Live Editor
Crea script con codice, output e testo formattato in un unico documento eseguibile.
Versione | Pubblicato | Note della release | |
---|---|---|---|
1.0.0 |