[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: The parse error on the "x"
From: |
Andreas Weber |
Subject: |
Re: The parse error on the "x" |
Date: |
Sat, 02 Feb 2013 12:43:54 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:10.0.11) Gecko/20121122 Icedove/10.0.11 |
Am 02.02.2013 12:27, schrieb Taban:
> Thanks,
>
> All code is that in my script. if "first" works for you. Can you write here
> code which executed successfully.
cat Taban.m
1; #because is not you will get a warning:
#function name 'f' does not agree with function file name
'/home/andy/temp/Taban.m'
function y = f (x,t)
y = 5-2*x; #Ben told you already this error
endfunction
first = 2;
t = linspace(0,20,100); #=, not - and add a ;
s = lsode("f",first,t); #not "" because initial state is not a string
plot(t,s,"r-")
- The parse error on the "x", Taban, 2013/02/01
- Re: The parse error on the "x", Benjamin Abbott, 2013/02/01
- Re: The parse error on the "x", Taban, 2013/02/01
- Re: The parse error on the "x", Alec Teal, 2013/02/01
- Re: The parse error on the "x", Taban, 2013/02/02
- Re: The parse error on the "x", Andreas Weber, 2013/02/02
- Re: The parse error on the "x", Taban, 2013/02/02
- Re: The parse error on the "x",
Andreas Weber <=
- Re: The parse error on the "x", Taban, 2013/02/02
- Re: The parse error on the "x", Andreas Weber, 2013/02/02
- Re: The parse error on the "x", marco atzeri, 2013/02/02
- Re: The parse error on the "x", Andreas Weber, 2013/02/02
- Re: The parse error on the "x", marco atzeri, 2013/02/02
- Re: The parse error on the "x", Andreas Weber, 2013/02/02
- Re: The parse error on the "x", marco atzeri, 2013/02/02
- SOLVED was: The parse error on the "x", Andreas Weber, 2013/02/02
- Re: SOLVED was: The parse error on the "x", Taban, 2013/02/02
- Re: SOLVED was: The parse error on the "x", Andreas Weber, 2013/02/02