Home > freetb4matlab > ocs > SBN > Mvoltagesources.m

Mvoltagesources

PURPOSE ^

%

SYNOPSIS ^

function [a,b,c] = Mvoltagesources (string,parameters,parameternames,extvar,intvar,t)

DESCRIPTION ^

% -*- texinfo -*-
%
% @deftypefn{Function File} @
% {[@var{a},@var{b},@var{c}]=}Mvoltagesources @
% (@var{string}, @var{parameters}, @var{parameternames}, @
% @var{extvar},@var{intvar},@var{t})
%
% SBN file implementing models for voltage sources.
%
% @var{string} is used to select among models. Parameters are listed
% as inner items. Possible models are:
%
% @enumerate
% @item @var{string} = 'DC' (Static indipendent voltage source)
% @itemize @minus
% @item V -> Current source value
% @end itemize
% @item @var{string} = 'sinwave' (Sinusoidal indipendent voltage
% source)
% @itemize @minus
% @item shift -> mean value of sinusoidal input
% @item Ampl  -> amplitude of sinusoidal wave
% @item f     -> frequency of sinusoidal wave
% @item delay -> delay of sinusoidal wave
% @end itemize
% @item @var{string} = 'pwl' (Piecewise linear voltage source)
% @itemize @minus
% @item takes as parameter times and values. For example @code{0 1 4 6}
% means at time instant 0 value 1, at time instant 4 value 6, etc.
% @end itemize
% @item @var{string} = 'squarewave' (Square wave)
% @itemize @minus
% @item low   -> low-state value
% @item high  -> high-state value
% @item tlow  -> duration of low-state
% @item thigh -> duration of high-state
% @item delay -> delay of square wave
% @item start -> starting voltage value
% @end itemize
% @item @var{string} = 'step' (Voltage step)
% @itemize @minus
% @item low   -> low-state value
% @item high  -> high-state value
% @item tstep -> time instant of step transition
% @end itemize
% @item @var{string} = 'VCVS' (Voltage controlled voltage source)
% @itemize @minus
% @item K -> Control parameter
% @end itemize
% @end enumerate
%
% @seealso{ PRSiffparse, ASMinitsystem, ASMbuildsystem, the IFF file
% format  specifications }
% @end deftypefn

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Sat 16-May-2009 00:04:49 by m2html © 2003