Displaying 1 result from an estimated 1 matches for "plot_style".
Did you mean:
plot_store
2009 Nov 26
1
Does nargin and nargout work with R functions?
...; from Octave over to R. The Octave "control-1.0.11" package has the capability to produce bode plots of transfer functions. I hope to post this package once the port over to R 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))
}