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



Matrix of functions (Can be defined or not)
Posted:
Dec 27, 2010 6:15 AM


Dear All, How can a matrix of functions like
Matfun= [2*x^2+5 3*x^3+7x^2+3 4*x^5+9 6*x+4] Can be evaluated using a for loop for any value of x for e.g. x=4;
I Want to know, is it possible to create a matrix of functions and if it can be accessed in a for loop like
X=4; For i=1:2 for j=1:2 val(I,j)=matfun(I,j) …………… end; end;
or if there is any other way
Thanks, Dinesh



