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: problem with symbolic expression
Replies: 0  

Advanced Search

Back to Topic List Back to Topic List  

Posts: 2
Registered: 12/11/04
problem with symbolic expression
Posted: Jul 19, 1996 12:59 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

Can anyone tell me what I did wrong?
I tried to integrate |cos(pi*t/5)|^2 (which is the same as
multiplying cos(pi*t/5) with its conjugate) from -a to a
while a is from 0 to 30.


x1 = sym('cos(pi*t/5)');
y1 = sym('conj(x1)');
integx1 = symmul(x1,y1);
E1 = int(integx1,'-a','a');
a = 0:30;
I got the message

??? Error using ==> ezplot
Symbolic variable not uniquely determined.

I have no idea what causes this problem.


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.