tiborsimon/smart-sinusoids
MLS package: To be able to install this library as an MLS package, you have to download it from GitHub as an MLS package: https://github.com/tiborsimon/smart-sinusoids/releases/latest
DEPENDENCY: This library is dependent on the Simple Input Parser library. You can install both library as an MLS package. Get the latest Simple Input Parser release from GitHub: https://github.com/tiborsimon/matlab-library-system/releases/latest
Sinusoid generator framework for MATLAB. Get the sinusoid wave you want, without worrying about the generation method.
Case 1
n - number of samples
N - periods in it
stem( ssin('n N', 200, 1.5) )
Case 2
L - signal lenght
N - periods in the signal
fs - with a given sample frequency
stem( ssin('L N fs', 0.001, 3, 48e3) )
Case 3
f - signal frequency
N - periods in the signal
fs - with a given sample frequency
stem( ssin('f N fs', 440, 1.3, 48e3) )
Case 4
f - signal frequency
n - number of samples
fs - with a given sample frequency
stem( ssin('f n fs', 440, 200, 48e3) )
Case 5
f - signal frequency
L - signal lenght
fs - with a given sample frequency
stem( ssin('f L fs', 800, 0.001, 48e3) )
In every case every parameter can be substituted with the eqvivalent counterparst. ie. f~T, fs~dt, L~n,dt ...
The amplitude (A) and phase (phi) are optional with the defualt values A=1 and phi=0.
Go to the GitHub page to find out more: https://github.com/tiborsimon/smart-sinusoids
Smart Sinusoids is MLS package compatible. Check out the tiborsimon/matlab-library-system here or on GitHub for more details: https://github.com/tiborsimon/matlab-library-system
See Tibor's other projects at: http://tiborsimon.io
Cita come
Tibor Simon (2025). tiborsimon/smart-sinusoids (https://github.com/tiborsimon/smart-sinusoids), GitHub. Recuperato .
Compatibilità della release di MATLAB
Compatibilità della piattaforma
Windows macOS LinuxCategorie
Tag
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.
Le versioni che utilizzano il ramo predefinito di GitHub non possono essere scaricate
| Versione | Pubblicato | Note della release | |
|---|---|---|---|
| 1.3.0.5 | Image updated |
|
|
| 1.3.0.4 | Description updated |
|
|
| 1.3.0.3 | Description updated |
|
|
| 1.3.0.2 | Description updated |
|
|
| 1.3.0.1 | Description updated |
|
|
| 1.3.0.0 |
|
