What is it?
Sci-Wcalc refers to
the Scilab interface
to the
wcalc routines. This interface allows the user to apply the full
power of a high level programming language like Scilab to the
design and analysis of the various Wcalc supported structures.
For example, it is extremely simple to plot the Q and self
resonant frequency of a 220 nH inductor as a function of winding
diameter or to optimize the impedance of a microstrip line to
produce minimum loss. For quick calculations with only a few sets
of parameters, the
standalone GTK-Wcalc is a
simpler tool, but when
complex optimizations or plotting is desired, the Scilab interface
provides tremendous flexibility.
Using Sci-Wcalc
Loading Sci-Wcalc (After Installation)
To use
the Scilab interface,
the interface must be loaded into your running Scilab session.
This is done by executing the load_wcalc.sce
script.
To execute this script enter the following at the Scilab
prompt:
--> exec('/usr/local/libexec/wcalc/load_wcalc.sce');
You will need to replace /usr/local
with the
installation prefix chosen when Wcalc was compiled. If you want
to always have access to Sci-Wcalc when you run Scilab, you can
add the exec
command to your .scilab
file in your home directory.
Loading Sci-Wcalc (Before Installation)
If you want to try out Sci-Wcalc before it is installed in its
final location, use the test_wcalc.sce
script
instead. From the Scilab prompt, enter:
--> exec('/tmp/wcalc-0.2/sci-wcalc/test_wcalc.sce');
You will need to replace /tmp/wcalc-0.2
with the
path to the directory where Wcalc has been compiled.
Running the Sci-Wcalc Functions
Once the Sci-Wcalc interface has been loaded, the Sci-Wcalc
functions appear as Scilab builtin functions. Complete
documentation on the various functions is available via Scilab's
online help.
Examples
Currently available functions
You can view the Scilab man pages for the Sci-Wcalc functions
online: