control icon indicating copy to clipboard operation
control copied to clipboard

Control Systems Toolbox in R

Results 6 control issues
Sort by recently updated
recently updated
newest added

I got this error when trying to convert the model back to TF with these statements: > g1 s1 ss2tf(s1) y1:Error in poly2str(argnum, svar = "s", smul = " ")...

Both TF("-1/s") and TF("1/(-s)") give error (R 3.6.1) Error in args[[2]] : subscript out of bounds

The R transfer functions generated from a ss model using the control package, differ from the Octave transfer functions. The Octave results seem to be correct. [jetEngine_tf_contr_2.zip](https://github.com/benubah/control/files/3851229/jetEngine_tf_contr_2.zip)

The current care() function requires package QT which is now unavailable. However, commenting out line 69 as follows: `# tmp

On running an Octave example from: https://wiki.octave.org/Control_package#Examples the R version generated some errors. I attach a zipped set of R/Octave code that reproduces the errors, together with a pdf of...

Im not an expert but is it ``` > TF("exp(s)") y1: 2.718282 s^1 + 1 - - - - - - - - - - - 1 ``` result y1...