Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

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


Math Forum » Discussions » Software » comp.soft-sys.matlab

Topic: Matrix of functions (Can be defined or not)
Replies: 4   Last Post: Jan 3, 2011 2:59 PM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Dinesh Bhati

Posts: 23
Registered: 8/4/10
Matrix of functions (Can be defined or not)
Posted: Dec 27, 2010 6:15 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

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



Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.