Converting Time vs Voltage to Frequency vs Voltage

I have an excel sheet containing the time in first column and voltage in second column for a filter.
I would like to plot this data in the form of Frequency vs Voltage ie the voltage given in the excel sheet.
How can I do this in MatLab?

1 件のコメント

KSSV
KSSV 2016 年 11 月 3 日
What is time in the first column?

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

回答 (1 件)

Star Strider
Star Strider 2016 年 11 月 3 日

0 投票

Use the xlsread function to import your data into your MATLAB workspace.
See the documentation for fft (link), specifically the code between the first (top) two plot figures.

カテゴリ

ヘルプ センター および File ExchangeElectrical Block Libraries についてさらに検索

質問済み:

2016 年 11 月 3 日

回答済み:

2016 年 11 月 3 日

Community Treasure Hunt

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

Start Hunting!

Translated by