diff options
author | Suraj Yerramilli | 2015-11-05 23:20:41 +0530 |
---|---|---|
committer | Suraj Yerramilli | 2015-11-05 23:20:41 +0530 |
commit | 0c61cfa95eff20db8e783cbfd466a67f31902490 (patch) | |
tree | ebf789bc6d3b1ce99da128d38270aaea12adb55d /R | |
parent | e60e8bb2b1f20d8631c0a7860cec679ccfcfd18c (diff) | |
download | SysID-R-code-0c61cfa95eff20db8e783cbfd466a67f31902490.tar.gz SysID-R-code-0c61cfa95eff20db8e783cbfd466a67f31902490.tar.bz2 SysID-R-code-0c61cfa95eff20db8e783cbfd466a67f31902490.zip |
Updated sim documentation
Diffstat (limited to 'R')
-rw-r--r-- | R/sim.R | 21 |
1 files changed, 20 insertions, 1 deletions
@@ -1,3 +1,22 @@ +#' Simulate dynamic system +#' +#' Simulate the response of a system given the input +#' +#' @param model the system model to simulate +#' @param input a vector/matrix containing the input +#' @param sigma standard deviation of the innovations (Default= \code{0}) +#' @param seed integer indicating the seed value of the random number generator +#' +#' @return +#' a vector containing the output +#' +#' @details +#' The routine is currently built only for SISO systems. Future Versions will +#' include support for MIMO systems. Current support +#' +#' @seealso +#' \code{\link{sim.idpoly}} for simulating polynomial models +#' #' @export sim <- function(model,input,sigma=0,seed=NULL) UseMethod("sim") @@ -8,7 +27,7 @@ sim.default <- function(model,input,sigma=0,seed=NULL){ #' Simulate from a Polynomial Model #' -#' Simulate the response of a system system governed by a polynomial model +#' Simulate the response of a system governed by a polynomial model #' , given the input #' #' @param model an object of class \code{idpoly} containing the coefficients |