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

Advanced Search

Back to Topic List Back to Topic List  
Spab

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;
ezplot(E1)
---------------------
I got the message

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

I have no idea what causes this problem.

Mukaya





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.