Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Plotting bode versus measurements with Matlab

Status
Not open for further replies.

Fertelle

Newbie level 3
Newbie level 3
Joined
Nov 29, 2011
Messages
3
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,305
Hallo all together,

I have a problem because I want to plot my measurements of phase and magnitude plot versus the calculated bodeplot of Matlab.

plot(M(1:22,1),M(1:22,4)) plots the measured frequencies versus the magnitude in dB but how can I overlap the plot with the bode?

Thanks,

Fertelle
 

If the bode plot looks some what like this, plot your data in the same Fig1
Bode.jpg
 

Hi, that is what i want to do but how?
I tried like that
P = bodeoptions; % Set phase visiblity to off and frequency units to Hz in options
P.PhaseVisible = 'off';
P.FreqUnits = 'Hz'; % Create plot with the options specified by P
figure(1)
h = bodeplot(hs,P);
plotyy(M(1:22,1),M(1:22,4),h);
but it does not work,
maybe you can help!?
Thanks
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top