functionfromReal

Generate a ZerosAndPoles data record from a real value

Information

Syntax

zp = ZerosAndPoles'constructor'.fromReal(r)

Description

This function constructs a ZerosAndPoles record zp from a real value, i.e. a without dynamics:

y = r*u

Therefore, the record is defined by

zp.k = r;
zp.n1 = fill(0,1);
zp.n2 = fill(0,1,2);
zp.d1 = fill(0,1);
zp.d2 = fill(0,1,2);

Inputs

TypeNameDefaultDescription
RealrValue of real variable
StringuName""Input name
StringyName""Output name

Outputs

TypeNameDefaultDescription
ZerosAndPoleszp= r