your function returns
By the way, instead of
uVector
(no need of the brackets, by the way) and you assign the value returned by the function to systemResponse
. You must use that name, not uVector
(which is local to function scope only, i.e. it doesn't exists outside the function).By the way, instead of
systemResponse
you can use uVector
, without any problem, if that name is more meaningful, e.g.uVector = calculateResponse(tvector, f2vector, f3vector)
If you can't explain it to a six year old, you don't understand it yourself, Albert Einstein
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs