This question is closed. Reopen it to edit or answer.
Please help me make this easy plot work
1 view (last 30 days)
Ben11 on 27 Oct 2014
Edited: Ben11 on 27 Oct 2014
Please format your code in the question.
The error occurs because MATLAB does not recognize 3t as an expression. You need to use 3*t. (and define x as well but I guess you did it). And don't forget to use element-wise operations when dealing with arrays (eg .^ instead of ^ only).