Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: Matrix of functions (Can be defined or not)
Replies: 5   Last Post: Aug 14, 2017 10:54 AM

 Messages: [ Previous | Next ]
 Dinesh Bhati Posts: 24 Registered: 8/4/10
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) &#8230;&#8230;&#8230;&#8230;&#8230; end; end;

or if there is any other way

Thanks,
Dinesh

Date Subject Author
12/27/10 Dinesh Bhati
12/27/10 John D'Errico
12/27/10 Yumnam Kirani Singh
1/3/11 Steven Lord
1/3/11 Andy
8/14/17 alexander mellor