In [3]:
a=1;
b=a+1
In [6]:
disp(a)
Example from https://help.scilab.org/doc/5.3.3/en_US/nyquist.html
In [7]:
//Nyquist curve
s=poly(0,'s')
h=syslin('c',(s^2+2*0.9*10*s+100)/(s^2+2*0.3*10.1*s+102.01));
h1=h*syslin('c',(s^2+2*0.1*15.1*s+228.01)/(s^2+2*0.9*15*s+225))
clf(); nyquist(h1)
// add a datatip
ax=gca();
h_h=ax.children($).children(2);//handle on Nyquist curve of h
tip=datatipCreate(h_h,[1.331,0.684]);
datatipSetOrientation(tip,"upper left");
In [3]:
x=[0:0.1:2*%pi]';
f4=scf(4);
f0=scf(0);
plot2d(x,[sin(x) sin(2*x) sin(3*x)])
scf(f4);
plot2d(sin(x))