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: symbolic variables + symbolic numerical manipulations?
Replies: 7   Last Post: Jun 14, 2013 4:23 AM

Advanced Search

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

Posts: 1,262
Registered: 11/27/08
Re: symbolic variables + symbolic numerical manipulations?
Posted: Jun 12, 2013 9:52 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

On 6/12/2013 9:02 AM, Uwe Brauer wrote:
> Alan_Weiss <aweiss@mathworks.com> wrote in message
> <kp9pah$mtu$1@newscl01ah.mathworks.com>...
>

>> >
>> > Uwe Brauer

>> It depends on how you make A. You probably did something like
>>
>> A=sym([1/4, 1/4 - sqrt(3)/6;1/4 + sqrt(3)/6, 1/4 ]);

>
> I even did a simple A=[1/4, 1/4 - sqrt(3)/6;1/4 + sqrt(3)/6, 1/4 ]
>

>>
>> Instead, you should execute
>>
>> A = sym('[1/4,1/4 - sqrt(3)/6;1/4 + sqrt(3)/6, 1/4]');
>>

>
> Aha, thanks a lot!!!! This information can be found in the documentation?


Well, the very first example in the documentation shows this syntax:
http://www.mathworks.com/help/symbolic/creating-symbolic-variables-and-expressions.html#brvjfo5-1

Alan Weiss
MATLAB mathematical toolbox documentation



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.