blob: c9234296c68bd30bf7fafb2ef09145c912e3fd99 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
function frdplot(varargin)
[lhs rhs] = argn(0)
if rhs <> 1 then
error(msprintf(gettext("%s: Wrong number of input arguments."),"frdplot"))
end
frdData = varargin(1)
if typeof(frdData) <> 'frd' then
error(msprintf(gettext("%s:Wrong type for input argument %d: ""frd"" expected."),"frdplot",1))
end
bode((frdData.Frequency)',(frdData.ResponseData)')
endfunction
|