diff options
author | Suraj Yerramilli | 2015-03-21 23:34:11 +0530 |
---|---|---|
committer | Suraj Yerramilli | 2015-03-21 23:34:11 +0530 |
commit | aa8d6a9fa5c020a2988a370150624f403121c939 (patch) | |
tree | 2d20f507a92d8e49ffa8a93622e7d9f15eb17098 | |
parent | d69c2fa0ff83c613d799e5a74af51a35fcf0717c (diff) | |
download | SysID-R-code-aa8d6a9fa5c020a2988a370150624f403121c939.tar.gz SysID-R-code-aa8d6a9fa5c020a2988a370150624f403121c939.tar.bz2 SysID-R-code-aa8d6a9fa5c020a2988a370150624f403121c939.zip |
added a basic transfer function object
-rw-r--r-- | R/tf.R | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -1,6 +1,8 @@ # S3 class for defining trasnfer functions tf <- function(num=c(1),den=c(1),Ts=1){ - + out <- list(num=num,den=den,Ts=Ts) + class(out) <- "tf" + return(out) } # Display the Transfer Function |