Illustration of Frequency Response (magnitude and phase response)

1 view (last 30 days)
Hi,
I have a list of frequency values (10hz to 1Mhz), output voltages and phase difference angles. But I don't know how I can go about plotting the frequency response
  2 Comments
dpb
dpb on 9 Jan 2021
Wouldn't it just be to plot() the two variables vs the frequency vector?
Muhammad Bello
Muhammad Bello on 10 Jan 2021
I actually have 3 list of values: Frequency, Output Voltages and Phase Difference (°). I'm basically confused on whether I should use bode or plot

Sign in to comment.

Answers (1)

Paul
Paul on 10 Jan 2021
if you wnat to plot them yourself, then use plot(), or semilogx() or whatever plotting function meets your needs.
Or you can define and frd object and then use Control System Toolbox functions, like bode(), to do the lifting
doc frd

Products


Release

R2020b

Community Treasure Hunt

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

Start Hunting!