微波EDA网,见证研发工程师的成长!
首页 > 研发问答 > 微波和射频技术 > 电磁仿真讨论 > Plotting bode versus measurements with Matlab

Plotting bode versus measurements with Matlab

时间:03-26 整理:3721RD 点击:
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

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

Copyright © 2017-2020 微波EDA网 版权所有

网站地图

Top