How can I perform a FFT on a time domain waveform in simulink??

Good day, I am Olando Fraser a year 3 Electrical and Computer Engineering student at the Univeristy of the West Indies, St Augustine Campus. I am using the simulink software for my final year project and I need some assistance. I am simulating a BLDC motor but I need to run a FFT on the waveform in matlab. How can i save the simulink waveform in some data file to perform the FFT in matlab??. Please help.

回答 (1 件)

Vaibhav Awale
Vaibhav Awale 2016 年 1 月 13 日

0 投票

Hi,
Simulation data can be saved to MATLAB workspace by using a "To workspace" block or by right clicking on signal, navigating to properties and checking the "Log signal data" check-box.
Refer to following link for more information:
Regards,
Vaibhav

3 件のコメント

Olando  Fraser
Olando Fraser 2016 年 1 月 14 日
Thank you very much for your response, I will let you know if i get it. thank you again
Olando  Fraser
Olando Fraser 2016 年 1 月 15 日
Good Day, the document is saved to the workspace currently. Can i do a FFT directly or i need to save the variables in a mat.file then call the file as a function?? any feedback will be appreciated.
Vaibhav Awale
Vaibhav Awale 2016 年 1 月 15 日
You can use the variable from your workspace directly in your FFT function.

サインインしてコメントする。

カテゴリ

ヘルプ センター および File ExchangeAudio Processing Algorithm Design についてさらに検索

質問済み:

2016 年 1 月 13 日

コメント済み:

2016 年 1 月 15 日

Community Treasure Hunt

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

Start Hunting!

Translated by