Home > @d_opvt > private > doAM.m

doAM

PURPOSE ^

DOAM A wrapper around AMgetdata to provide external parameters

SYNOPSIS ^

function [F,B,A,Af,Tf,P1,P2] = doAM(th)

DESCRIPTION ^

 DOAM  A wrapper around AMgetdata to provide external parameters
   This function serves to add parameters from the file vtsimul
   and also converts the data.TC (tract constants) and data.PC 
   (physical constants) values to an array form using gettc and 
   getpc.

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 function [F,B,A,Af,Tf,P1,P2] = doAM(th)
0002 % DOAM  A wrapper around AMgetdata to provide external parameters
0003 %   This function serves to add parameters from the file vtsimul
0004 %   and also converts the data.TC (tract constants) and data.PC
0005 %   (physical constants) values to an array form using gettc and
0006 %   getpc.
0007 
0008 % Satrajit Ghosh, SpeechLab, Boston University. (c)2001
0009 % $Header: /mnt/localhd/cvsdir/MODELLING/NEWDIVA/@d_opvt/private/doAM.m,v 1.1.1.1 2006/10/06 18:20:23 brumberg Exp $
0010 
0011 % $NoKeywords: $
0012 
0013 % Setup globals
0014 global RELEASE
0015 
0016 %load miscellaneous data structures
0017 vtsimul;
0018 
0019 % reshape to ensure correct input form
0020 th = th(:)';
0021 data.AMpar.ampar = th;
0022 [Af,Tf,F,B,A,P1,P2] = AMgetdata(...
0023     gettc(data.TC),...
0024     getpc(data.PC),...
0025     [data.AMpar.ampar,data.AMpar.anc]);

Generated on Tue 27-Mar-2007 12:06:24 by m2html © 2003