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일)
이전 댓글 표시
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).
댓글 수: 0
답변 (3개)
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)
댓글 수: 0
이 질문은 마감되었습니다.
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!