Hi,
Does anyone know if I can raise a variable to the power of another variable in Simulink by using blocks? E.g. I am using an Embedded MATLAB function block to do this y=V.^m, but I am having some problems during simulation and I would prefer it if I could implement that plainly with simple blocks.
Thank you in advance,
AL
|
|
0
|
|
|
|
Reply
|
Angeliki
|
9/27/2010 10:08:04 PM |
|
"Angeliki " <angela7lekka@hotmail.com> wrote in message <i7r4k4$rfj$1@fred.mathworks.com>...
> Hi,
>
> Does anyone know if I can raise a variable to the power of another variable in Simulink by using blocks? E.g. I am using an Embedded MATLAB function block to do this y=V.^m, but I am having some problems during simulation and I would prefer it if I could implement that plainly with simple blocks.
>
> Thank you in advance,
> AL
Hi,
Math function Block,
http://www.mathworks.com/help/toolbox/simulink/slref/mathfunction.html
use the "power" option.
HTH,
Guy
|
|
0
|
|
|
|
Reply
|
Guy
|
9/28/2010 12:23:05 AM
|
|
> Hi,
>
> Math function Block,
>
> http://www.mathworks.com/help/toolbox/simulink/slref/mathfunction.html
>
> use the "power" option.
>
> HTH,
>
> Guy
Thanks Guy,
math function block worked perfectly!
|
|
0
|
|
|
|
Reply
|
Angeliki
|
9/28/2010 1:57:21 PM
|
|