How to plot a against varying phi value
이전 댓글 표시
I am sorry if this is an easy answer, I am a noob on this.
del=sin(beta)^2(1+s^2+I)-sin(phi)(sin(phi)+u*cos(phi))
tan(beta)=1/s
s=0.95,1.0,1.1,1.2
u=0.75
I=1
I have to plot del against phi
Phi should go from 0 degrees to 90 degrees
How do I go about doing this ?
Thanks in advance.
답변 (1개)
Andrei Bobrov
2015년 10월 2일
편집: Andrei Bobrov
2015년 10월 2일
phi = (0:90)';
s = [0.95,1.0,1.1,1.2];
sd = sind(phi);
plot(phi,bsxfun(@minus,sin(1./s).^2.*(1+s.^2+1),sd.*(sd+.75*cosd(phi)));
카테고리
도움말 센터 및 File Exchange에서 Creating and Concatenating Matrices에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!