From e5e316e1958e27696d7670e2492992d34ff38b68 Mon Sep 17 00:00:00 2001 From: ttt Date: Mon, 9 Jul 2018 16:54:44 +0530 Subject: added scilabs files --- frdplot.sci | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 frdplot.sci (limited to 'frdplot.sci') diff --git a/frdplot.sci b/frdplot.sci new file mode 100644 index 0000000..c923429 --- /dev/null +++ b/frdplot.sci @@ -0,0 +1,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 -- cgit