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: Help,symbolic math,multivariable eqn
Replies: 2   Last Post: Sep 22, 1996 11:45 PM

Advanced Search

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

Posts: 5
Registered: 12/7/04
Help,symbolic math,multivariable eqn
Posted: Sep 17, 1996 12:05 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

I really hope someone can help me with this one...

I need matlab to help me generate a really long eqation with several
terms. Two of the variables have known values stored in a matrix but
there are also 6 unknown variables. Once I get the equation entered, I am
going to run it through Optimization toolbox.

The equation goes something like this:
f=(y1-c1(exp(-a1*t1)-exp(-a2*t1))^2 + (y2-c1(exp(-a1*t2)-exp(-a2 *t2))^2 +

y and t are the known matrices, c1, a1, a2 are unknowns. Y and t increment
in each term and then the terms are summed together. There are 20 terms

How do I enter the equation with matlab recognizing the unknowns and still
substituting the values from the matrices? Then how do I get it to sum
the terms?

Thank you!

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.