fourier_series_pwm_​matlab

版本 1.6 (55.6 KB) 作者: Thomas Guillod
MATLAB Code for Fourier Series Handling (with FFT)
212.0 次下载
更新时间 2021/11/4

MATLAB Code for Fourier Series Handling (with FFT)

license - BSD language - MATLAB category - science status - maintained

The MATLAB FFT/IFFT functions are good but not so easy to use for real periodic signal:

  • the ordering of the frequency vector is confusing due to the negative frequencies (spectrums are symmetric)
  • the coefficients are not scaled as in a Fourier series due to the definition of the DFT

The provided MATLAB functions offer different functionalities around Fourier series:

  • get time and frequency vector
  • wrappers around the MATLAB FFT/IFFT functions that scale periodic signals as Fourier series coefficients
  • many signals can be processed at the same time (matrices)

The following functions are offered for signal generation:

  • generate spectrum of arbitrary PWM periodic signals directly in the frequency domain
  • generate PWM signals with a finite/infinite slew rate
  • generate DC and AC sinusoidal signals

Additionally, several transformations can be applied to frequency domain signals:

  • apply low-pass filters (e.g., first-order, second-order)
  • apply simple transformations (eg., delay, phase shift, AC coupling)

Examples

Compatibility

  • Tested with MATLAB R2018b and R2021b.
  • No toolboxes are required.
  • Compatibility with GNU Octave not tested but probably easy to achieve.

Author

Thomas Guillod - GitHub Profile

License

This project is licensed under the BSD License, see LICENSE.md.

引用格式

Thomas Guillod (2024). fourier_series_pwm_matlab (https://github.com/otvam/fourier_series_pwm_matlab), GitHub. 检索时间: .

MATLAB 版本兼容性
创建方式 R2020a
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Spectral Measurements 的更多信息

Community Treasure Hunt

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

Start Hunting!

无法下载基于 GitHub 默认分支的版本

版本 已发布 发行说明
1.6

connect readme

1.5

allow arbitraty PWM signals

1.4

Change txt

1.2

Change text

1.1

Change txt

1.0.0

要查看或报告此来自 GitHub 的附加功能中的问题,请访问其 GitHub 仓库
要查看或报告此来自 GitHub 的附加功能中的问题,请访问其 GitHub 仓库