roshan2
Junior Member level 1
Actually i am doing a matlab code to plot a graph.the dispersion graph.Beta - x axis and Frequency- Y axis
i want to extend the X axis to the negative side ie.want negative values in the x axis.
my code which showed result in the positive axis is as follows:
beta=0:2;
w=1:5;
p=6.9;
wL=3.03;
wR=1.6;
wsh=2.2;
wse=2.2;
for i=1:5
beta(i)=acos(1-1/2*(wL^2/w(i)^2+w(i)^2/wR^2-wsh^2/wR^2-wse^2/wR^2));
beta=beta*1/p;
end
plot(beta,w)
please respond
i want to extend the X axis to the negative side ie.want negative values in the x axis.
my code which showed result in the positive axis is as follows:
beta=0:2;
w=1:5;
p=6.9;
wL=3.03;
wR=1.6;
wsh=2.2;
wse=2.2;
for i=1:5
beta(i)=acos(1-1/2*(wL^2/w(i)^2+w(i)^2/wR^2-wsh^2/wR^2-wse^2/wR^2));
beta=beta*1/p;
end
plot(beta,w)
please respond