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: How to solve very complex equations in matlab?
Replies: 13   Last Post: Jul 6, 2013 7:20 AM

 Messages: [ Previous | Next ]
 Torsten Hennig Posts: 2,419 Registered: 12/6/04
Re: How to solve very complex equations in matlab?
Posted: Jul 5, 2013 2:27 AM

> Thank you for your repeated replies. But I still have
> some problem(main problem). The functions
> func_1,func_2,etc., will not become values right?
> Because there are still variables x,y,z. We will only
> keep a(j) and b(j) values.
> I am getting an error like this:
> " Undefined function 'plus' for input arguments of
> type 'function_handle'.
> Error in check (line 12)
> sum1=sum1+func_1; "
>
> After doing all the summation, I have to get a
> a single function with x,y,z variables.
>
>
> Message was edited by: Srinath

I didn't post a line that looks like
sum1=sum1+func_1.

You will have to call func_1 with the arguments x,y,z
and maybe a(j) and b(j) first, store the result in a variable f1 and do the summation afterwards:
f1=func_1(x,y,z,a(j),b(j));
sum1=sum1+f1;

Best wishes
Torsten.

Date Subject Author
7/4/13 Srinath
7/4/13 Torsten Hennig
7/4/13 Srinath
7/4/13 Torsten Hennig
7/4/13 Srinath
7/4/13 Torsten Hennig
7/4/13 Srinath
7/5/13 Torsten Hennig
7/5/13 Srinath
7/5/13 Torsten Hennig
7/5/13 Srinath
7/5/13 Torsten Hennig
7/5/13 Srinath
7/6/13 Torsten Hennig