

s=%s;
syms K T
H=syslin(' c ',K/(s*(T*s +1) ))
nyquist(H)
When I run this code I get errors complaining about syms, I can't find it in the list of functions on the help. I did find an online reference telling me that it is part of the ATOMs addendum to the Scilab environment. Looking at ATOMs I find a whole slew of tools that can be added, and I have no idea which one and whether this is even worth the effort. Maybe if I understood the code a little better I could find a workaround syms. It looks like the original intent of the syms K T line was to define 2 variables of some sort. Then they are used in syslin to define a linear system, which is then used by nyquist. I have also seen this same sort of thing used in evans for a root locus plot. Can anyone explain how K and T are used in this code to get a nyquist plot?
Scilab




- Install Maxima. On terminal type sudo apt-get install maxima
- Download overload-1.3.3.tar
- Extract overload-1.3.3
- On Scilab console, navigate to overload-1.3.3 folder
- Type exec loader.sce in Scilab console
- Download scilab-scimax-2.1.4.tar
- Extract scilab-scimax-2.1.4
- Open scilab-scimax-2.1.4/builder.sce on an editor. Change line 14 to indicate the path of overload.1.3.3. For example, the path could look like this- %otb_path='/home/xyz/overload-1.3.3'
- On Scilab console, navigate to scilab-scimax-2.1.4
- Type exec builder.sce in Scilab console
- Type exec loader.sce in Scilab console
- Type maxinit in Scilab console
- To test the toolbox has been loaded properly, type the following in Scilab console Syms x Syms y e=(x+y)^5 f=expand(e)
- ---------------------------------------------------------------------------------------------------------------------------------
- from the above toolbox link:
- tar files are a Linux file type and I am using Microsoft windows.
- what the heck is Maxima and sudo looks like a Linux comand
- I have no clue how to do steps 4 & 5
- step 8 is baffling
- steps 0 - 2 do you literally mean type in "exec builder.sce" on the console
- also for "maxinit"
- only step 3 makes any sense
Login to add comment


Login to add comment