Displaying 1 result from an estimated 1 matches for "phase_r".
Did you mean:
phase_v
2009 Nov 26
1
Does nargin and nargout work with R functions?
...is complete.
Thanks again for all the feedback and insights.
bode<-function(sys, w, outputs, inputs, plot_style)
{
# ...
if (nargin < 1 || nargin > 5)
{
print("This works")
}
if (nargout < 1)
{
print("This also works")
}
return(list(mag_r, phase_r, w_r))
}