Waveform Fourier series (Formas de onda series de Fourier)

With this function you can obtain components of Fourier series of most commonly waveforms.
158 Descargas
Actualizado 13 nov 2020

Ver licencia

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);

Citar como

Setsuna Yuuki. (2025). 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. Recuperado .

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

Compatibilidad con la versión de MATLAB
Se creó con R2020a
Compatible con cualquier versión
Compatibilidad con las plataformas
Windows macOS Linux
Etiquetas Añadir etiquetas

Community Treasure Hunt

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

Start Hunting!
Versión Publicado Notas de la versión
1.1