22.06.2015 Views

CIFER®-MATLAB Interfaces: Development and ... - Cal Poly

CIFER®-MATLAB Interfaces: Development and ... - Cal Poly

CIFER®-MATLAB Interfaces: Development and ... - Cal Poly

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Outputs:<br />

out<br />

- optional output allows user to set up a template<br />

structure using this call with no inputs:<br />

>> out = cifarith<br />

---------------------------------------------------------------<br />

DESCRIPTION OF FIELDS IN INPUT STRUCTURE<br />

SCREEN 1<br />

in.names(2) input names<br />

in.scalefac(2) scale factor<br />

in.spower(2) power of s<br />

in.op operation (*,/,-,+)<br />

in.outname<br />

in.outid<br />

Resultant Response Name<br />

Resultant Response Description<br />

in.cohopt 'N'->COH = 1.0, 'Y' -> COH = COH of first response<br />

in.isource Source of input responses ('D' - database,<br />

'F' - file)<br />

in.osource Destination for output ('D' - database, 'F' - file<br />

SCREEN 2<br />

in.minfreq<br />

in.maxfreq<br />

in.nvalue<br />

in.unit<br />

in.toscrn<br />

Minimum frequency to include (0 for default)<br />

Maximum frequency to include (0 for default)<br />

Number of values in output response (0 for<br />

default)<br />

'RAD' or 'Hz' (0 for default)<br />

Turn printed screen output 'ON' or 'OFF'<br />

Function: cifplot<br />

Description: This function allows the user to call CIFER<br />

utility 19 from the Matlab comm<strong>and</strong> screen. This utility<br />

generates a 'canned' plot for frequency responses.<br />

[out] = ciplot(in,options)<br />

Inputs:<br />

in<br />

- input structure, fields defined below.<br />

Information on the details of the structure can<br />

be found with an empty call:<br />

>> cifplot<br />

options - name-value pairs to set individual data<br />

fields (optional) e.g.: ...,'source','F',...<br />

Outputs:<br />

out<br />

- optional output allows user to setup a template<br />

structure using this call with no inputs:<br />

>> out = cifplot<br />

---------------------------------------------------------------<br />

DESCRIPTION OF FIELDS IN INPUT STRUCTURE<br />

SCREEN 1<br />

in.array(5) - which arrays (1:mag, 2:phas, 3:coh, 4:GXX,<br />

5:GYY, 6:GXY, 7:err, 8:pcoh2,<br />

9:pcoh3, 10:pcoh4, 11:pcoh5,<br />

12:pcoh6, 13:pcoh7, 14:pcoh8,<br />

15:pcoh9, 16:mcoh)<br />

in.correct(5) - use corrections (0 to skip, 1 to apply)<br />

in.names(5) - response names<br />

in.gain(5) - gain correction<br />

in.phase(5) - phase shift correction<br />

in.spower(5) - s power correction<br />

94

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!