Octave-Wcalc

What is it?

Octave-Wcalc refers to the Octave interface to the wcalc routines. This interface allows the user to apply the full power of a high level programming language like Octave 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 Octave interface provides tremendous flexibility.

Compiling Octave-Wcalc

If you are using octave version 3 or later, then the mex capability should be built in. If you are using an older version of octave then to compile and use Octave-Wcalc you must install the Octave mex package which is part of the Octave-Forge package for Octave.

Using Octave-Wcalc

Loading Octave-Wcalc (After Installation)

To use the Octave interface, the octave-wcalc files must be in your octave search path.

Loading Octave-Wcalc (Before Installation)

If you want to try out Octave-Wcalc before it is installed in its final location, use the runoctave script which ensures that octave can find the shared libraries required by wcalc.

Running the Octave-Wcalc Functions

Once the Octave-Wcalc interface has been loaded, the Octave-Wcalc functions appear as Octave builtin functions. Complete documentation on the various functions is available via Octave's online help.

Examples

Currently available functions

You can view the Octave man pages for the Octave-Wcalc functions online:
air_coil_calc - Single layer air core solenoid inductor analysis
air_coil_syn - Single layer air core solenoid inductor synthesis
bars_calc - Self and mutual inductance of a pair of parallel rectangular bars
coax_calc - Coaxial transmission line analysis
coax_syn - Coaxial transmission line synthesis
coplanar_calc - Symmetric coplanar transmission line analysis
coplanar_syn - Single coplanar transmission line synthesis
coupled_microstrip_calc - Coupled microstrip transmission line analysis
coupled_microstrip_syn - Coupled microstrip transmission line synthesis
coupled_stripline_calc - Coupled stripline transmission line analysis
coupled_stripline_syn - Coupled stripline transmission line synthesis
ic_microstrip_calc - Integrated circuit microstrip transmission line analysis
ic_microstrip_syn - Integrated circuit microstrip transmission line synthesis
microstrip_calc - Symmetric microstrip transmission line analysis
microstrip_syn - Single microstrip transmission line synthesis
parallel_rc_p2s - Convert Parallel RC Network into Equivalent Series RC Network
parallel_rc_s2p - Convert Series RC Network into Equivalent Parallel RC Network
parallel_rl_p2s - Convert Parallel RL Network into Equivalent Series RL Network
parallel_rl_s2p - Convert Series RL Network into Equivalent Parallel RL Network
stripline_calc - Symmetric stripline transmission line analysis
stripline_syn - Symmetric stripline transmission line synthesis

Wcalc Logo

Information
 About Wcalc
 Reporting bugs
 Current projects
 Obtaining Wcalc
 Technical Notes
 Wcalc F.A.Q.
 Wcalc Home
 Wcalc Sourceforge Project

Models
 Air Core Solenoid Inductor
 Parallel Rectangular Bars Inductance
 Coaxial Transmission Line
 Coplanar Waveguide
 Coupled Microstrip
 Coupled Stripline
 Integrated Circuit Microstrip
 Microstrip
 Series/Parallel RC Network
 Series/Parallel RL Network
 Stripline

Frontends
 CGI-Wcalc (Web Interface)
 GTK-Wcalc (GUI Interface)
 MEX-Wcalc (Matlab Interface)
 Octave-Wcalc (Octave Interface)
 SCI-Wcalc (Scilab Interface)
 STDIO-Wcalc (Simple stdio Interface)

Misc. Info.
 Permeabilities
 Permitivities
 Resistivities
 Unit Conversion Factors
 Wire Sizes

  SourceForge.net Logo  
Copyright © 2001, 2002, 2004, 2005, 2006 Dan McMahill ALL RIGHTS RESERVED.
  Support This Project