Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Thread Subject:
Symbolic toolbox - output formated for element-by-element operations

Subject: Symbolic toolbox - output formated for element-by-element operations

From: Michal Lukac

Date: 8 Jun, 2012 08:57:10

Message: 1 of 3

Hello is there any way (function, parameter) how to convert output from symbolic toolbox operations to be formated for element-by-element operations? ./ .^ .* ? (just to add the dot in front of the operation)
I know, I can use find and replace function, but it take some time.
Some function doing this conversion would be helpful. :-)

Michal

Subject: Symbolic toolbox - output formated for element-by-element operations

From: Steven_Lord

Date: 8 Jun, 2012 13:46:38

Message: 2 of 3



"Michal Lukac" <michal.lukac@fstroj.uniza.sk> wrote in message
news:jqsep6$qgi$1@newscl01ah.mathworks.com...
> Hello is there any way (function, parameter) how to convert output from
> symbolic toolbox operations to be formated for element-by-element
> operations? ./ .^ .* ? (just to add the dot in front of the operation)
> I know, I can use find and replace function, but it take some time.
> Some function doing this conversion would be helpful. :-)

Take a look at matlabFunction.

http://www.mathworks.com/help/toolbox/symbolic/brt7nuv.html#brt7nyh

Alternately SUBS vectors into your symbolic expression.

http://www.mathworks.com/help/toolbox/symbolic/brvfu8o-1.html#brvfwnf

--
Steve Lord
slord@mathworks.com
To contact Technical Support use the Contact Us link on
http://www.mathworks.com

Subject: Symbolic toolbox - output formated for element-by-element operations

From: Michal Lukac

Date: 8 Jun, 2012 21:25:12

Message: 3 of 3


> Take a look at matlabFunction.
>
> http://www.mathworks.com/help/toolbox/symbolic/brt7nuv.html#brt7nyh
>
> Alternately SUBS vectors into your symbolic expression.
>
> http://www.mathworks.com/help/toolbox/symbolic/brvfu8o-1.html#brvfwnf

thanks,
the matlabFunction do the job.... :)

Michal

Tags for this Thread

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Contact us