Info

この質問は閉じられています。 編集または回答するには再度開いてください。

I have an equation that is the model equation for the experimental data that I have. I am unsure of how to plot this .

1 回表示 (過去 30 日間)
Audra Kiesling
Audra Kiesling 2013 年 2 月 18 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
I want to be able to see if our experimental data fits the model. I have the model equation but I am unsure of how to plot it. Do I use arbitrary numbers? The equation is Z = 250R^1.2, where Z is the x-axis and R is the y-axis (but in log scale). Any help would be appreciated. Z actually ends up becoming dBZ = 10*log10(Z).

回答 (3 件)

Babak
Babak 2013 年 2 月 18 日
See MATLAB help on loglog, plot, semilogx, semilogy

Audra Kiesling
Audra Kiesling 2013 年 2 月 18 日
I am aware of the different types of plots, but I was more so asking how do I plot a model equation, without using my experimental data. I am a newbie to Matlab. I realize it's probably a super simple explanation, but I don't know where to begin to plot something that is a theoretical model.

Babak
Babak 2013 年 2 月 19 日
you can do somehthing like this:
zmin = 1;
zmax = 10;
Rmin = (zmin/250)^(1/1.2);
Rmax = (zmax/250)^(1/1.2);
N = 1000; % number of points
z = linspace(zmin,zmax,N);
R = (z/250).^(1/1.2);
semilogy(z,R);
Pay attention that I have parametrized the minimum and maximum values of z. I have also used the inverse of the equation you had provided Z = 250R^1.2 because as you are saying R is the vertical axis and z is in horizontal axis so R should be found as a function of z, as, R = (z/250).^(1/1.2)

この質問は閉じられています。

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by