Prev: exported *.eps figure is very washed out/faded
Next: Erorr:Subscript indices must either be real positive integersor logicals
From: Abdel-karim on 15 Apr 2010 17:33 I have the following statements but when execute them the erorr {{{ Subscript indices must either be real positive integers or logicals }}} appear please if anyone has any comment or solution for this send to me %************************************************ syms x; for i=0:24 E(i)=int(((0.09)*x^(2)*exp(-0.3*x)/factorial(2)),i,i+1); end %************************************************ Thank you for everyone
From: Jeremy on 15 Apr 2010 17:58 "Abdel-karim " <aoj173(a)hotmail.com> wrote in message <hq80mh$3ms$1(a)fred.mathworks.com>... > I have the following statements but when execute them the erorr {{{ Subscript indices must either be real positive integers or logicals }}} appear > please if anyone has any comment or solution for this send to me > > > %************************************************ > syms x; > for i=0:24 > E(i)=int(((0.09)*x^(2)*exp(-0.3*x)/factorial(2)),i,i+1); > end > %************************************************ > Thank you for everyone Are you wanting to integrate once from 0 to 24, or multiple times from 0 to 1, 1 to 2, 2 to 3, etc?
From: Abdel-karim on 16 Apr 2010 04:04 "Abdel-karim " <aoj173(a)hotmail.com> wrote in message <hq80mh$3ms$1(a)fred.mathworks.com>... > I have the following statements but when execute them the erorr {{{ Subscript indices must either be real positive integers or logicals }}} appear > please if anyone has any comment or solution for this send to me > > > %************************************************ > syms x; > for i=0:24 > E(i)=int(((0.09)*x^(2)*exp(-0.3*x)/factorial(2)),i,i+1); > end > %************************************************ > Thank you for everyone Thanks all I want multiple integration from 0 to 1, 1 to 2, ......, 24 to 25
From: Abdel-karim on 17 Apr 2010 03:41
anyone have an idea for my question please give me an answer thank you again |