How to use matlab to realize the drawing of double y coordinate and control the name of two Y coordinate axes

How to use matlab to realize the drawing of double y coordinate and control the name of two Y coordinate axes


Using plotyy, for example:
x = 0:0.01:20;
y1 = 200*exp(-0.05*x).*sin(x);
y2 = 0.8*exp(-0.5*x).*sin(10*x);
[AX,H1,H2] = plotyy(x,y1,x,y2,'plot');
Set (get (ax (1),'ylabel '),'string','slow decay ')% left y-axis
Set (get (ax (2),'ylabel '),'string','fast decay ')% right y-axis
xlabel('Time (\musec)')
title('Multiple Decay Rates')
Set (H1, 'linestyle', '-'%) corresponds to the linear Y1 of the first curve
Set (H2, 'linestyle', ':'%) corresponds to the linear Y2 of the first curve



How to adjust the precision of coordinate axis when drawing in MATLAB?
I want to make the accuracy of the coordinate axis smaller. How to set it?


You mean to adjust the density of the scale?
After drawing the picture, adjust the coordinate axis in the window of the picture.



Drawing in MATLAB, how to set the thickness and length of the axis and the scale on the axis?


Edit - & gt; axes & nbsp; properties & nbsp; - & gt; & nbsp; more & nbsp; properties, all of which are easy for beginners to learn
All the above parameters can be set with the command line!



Solve the 100 roots of the equation x ^ 100 = 1 in the complex range


1=1(cos0+isin0)
The 100 roots were as follows
1[cos(2nπ/100)+isin(2nπ/100)]
=1[cos(nπ/50)+isin(nπ/50)]
Where n is an integer and N = 0,1,2 98,99