|
From: | Taban |
Subject: | The parse error on the "x" |
Date: | Fri, 1 Feb 2013 12:33:44 -0800 (PST) |
function y = f (x,t)
y = 5-2x;
endfunction
first = 2;
t - linspace(0,20,100)
s = lsode("f","first",t);
plot(t,s,"r-")
And this is my error:
parse error near line 2 of file .../dif.m
syntax error
>>> y = 5-2x;
^
[Prev in Thread] | Current Thread | [Next in Thread] |