From: Oriane Le Pocher on
Hello !

I've seen the following equation in a matlab file:

T11 = simple(0.5*m1*v1.'*v1);

And I was wondering what the use of simple ?

Thank you in advance for your answers.
From: Wayne King on
"Oriane Le Pocher" <cixi(a)yopmail.com> wrote in message <hvpte4$com$1(a)fred.mathworks.com>...
> Hello !
>
> I've seen the following equation in a matlab file:
>
> T11 = simple(0.5*m1*v1.'*v1);
>
> And I was wondering what the use of simple ?
>
> Thank you in advance for your answers.

Hi Oriane, have you read the documentation? The Matlab documentation is very clear on the use of simple. It simplifies symbolic expressions.

>> doc simple

syms x
[R,~] = simple(cos(x)+1j*sin(x));


Wayne