Waveform Fourier series (Formas de onda series de Fourier)

With this function you can obtain components of Fourier series of most commonly waveforms.
157 download
Aggiornato 13 nov 2020

Visualizza la licenza

With this function you can obtain the plus components of Fourier series of most commonly waveforms.

Predeterminate waveform is rectangular waveform 'rect'.

This function return different components in signal matrix, component can be only one, or multiples.
For example:

[signal, time] = wff(2, sampling, frecuency); The signal matrix has the sum of 2 components Fourier series of rectangular wave form.

[signal, time] = wff([1:12], sampling, frecuency); The signal matrix has the fundamental component, and the sum of each of the components from 2 to 12 separately.

[signal, time] = wff([5 10 100], sampling, frecuency); The signal matrix has the sum of components 5, 10 and 15 separately.

You can change the waveform to decompose, by one these:

'square' --> square signal without mean value.
'square2' --> Other square signal.
'triang' --> Triangular signal with discontinuities.
'triang2' --> Triangular signal without discontinuities.
'sawtooth' --> Sawtooth signal.
'sinHw' --> Half wave sine
'sinFw' --> Ful wave sine

Examples:

[signal, time] = wff([5 10 100], sampling, frecuency,'triang');
[signal, time] = wff([5 10 100], sampling, frecuency,'sinHw');

By default this function shows a graph, if you do not want it add one more argument, for example:

[signal, time] = wff([5 10 100], sampling, frecuency,'sinHw',1);

Cita come

Setsuna Yuuki. (2024). Waveform Fourier series (Formas de onda series de Fourier) (https://www.mathworks.com/matlabcentral/fileexchange/82783-waveform-fourier-series-formas-de-onda-series-de-fourier), MATLAB Central File Exchange. Recuperato .

C. K. Alexander and M. N. O. Sadiku, “Fundamentals of Electric Circuits,” McGraw-Hill, New York, 2000. (Chapter 17)

Compatibilità della release di MATLAB
Creato con R2020a
Compatibile con qualsiasi release
Compatibilità della piattaforma
Windows macOS Linux
Tag Aggiungi tag

Community Treasure Hunt

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

Start Hunting!
Versione Pubblicato Note della release
1.1