Professional Documents
Culture Documents
Send Me Both The Code From Matlab in and The Graphs .: Word File
Send Me Both The Code From Matlab in and The Graphs .: Word File
Change the colours of all three lines and slightly the thickness, give them all different
colours.
Code1: -
clc
clear all
syms v b
cn=5000/(2.16*((sqrt(900*(cos(b*pi/180)^2-1)-v^2)))-30*cos(b*pi/180)^2)
ez1=ezplot(subs(Cn,v,6),[0,22])
hold on
ez2=ezplot(subs(Cn,v,8),[0,22])
ez3=ezplot(subs(Cn,v,10),[0,22])
set(ez1,'çolor',[1,0,0])
set(ez2,'color',[0,1,0])
hold on
Graph should look something like this and can you please change X and Y – axis labels to “b (SIDE WIND ANGLE)”
and “Cn (COEFF. Of STABILITY)” respectively.
Code2 : -
clc
clear all
syms v b
cn=5000/(2.16*((sqrt(900*(cos(b*pi/180)^2-1)-v^2))-30*cos(b*pi/180)^2)
ez4=ezplot(subs(cn,v,6),[0,22])
hold on
ez5=ezplot(diff(subs(cn,v,8)),[0,22])
ez6=ezplot(diff(subs(cn,v,10)),[0,22])
set(ez4,'çolor',[1,0,0])
set(ez5,'color',[0,1,0])
hold off
Same for this and change X- and Y- labels to “b (SIDE WIND ANGLE)” and “RATE of CHANGE of YAW COEFF.”
Respectively.