The Math Forum

Search All of the Math Forum:

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

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

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

Topic: sum of function handles
Replies: 2   Last Post: Jan 16, 2013 11:46 AM

Advanced Search

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

Posts: 6
Registered: 1/12/13
sum of function handles
Posted: Jan 16, 2013 2:42 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

Hi, i want to sum two function handle. the functions that i want to sum are following;

for i=1:20
how can i do by using function handle? the following is true?

for i=1:20
f1=@(x)(f1(x)+ f2(x));

Can anyone help me? Because i use this last summation function for fminsearch

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

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.