Search All of the Math Forum:
Views expressed in these public forums are not endorsed by
NCTM or The Math Forum.


Amiri
Posts:
1
Registered:
4/30/13


Using trapz in a cell variable
Posted:
Apr 30, 2013 6:00 AM


Hi everyone,
I have a cell variable like aa=cell(10,1) and each cell is a function handle like aa{1}=@(t) (2*t+3) and also I have X which is a 10by1 matrice. Now I want to integrate aa over X as a function handle like bb= @(t) trpaz(X,aa{:}(t)) but finally when for exampple I want to have bb(1) (I mean bb at time t=1) this error comes up: ''Bad cell reference operation.''
could anyone help me on this issue? Bests, Amir



