Borrar filtros
Borrar filtros

expansion of trigonometric formula and phasor term

2 visualizaciones (últimos 30 días)
Prashant Funde
Prashant Funde el 7 de Abr. de 2017
Respondida: KSSV el 7 de Abr. de 2017
I wanted to know that how we can split trigonametric formulas in MATLAB. as an eg. if i want to split (cos(a)*cos(b)) how can i split it as (1/2(cos(a-b)+cos(a+b))) like this?
and also how can i expand e^(jwt) = cos(wt) + jsin(wt)

Respuestas (1)

KSSV
KSSV el 7 de Abr. de 2017
syms w t
f = exp(1i*w*t)
rewrite(f,'sincos')

Categorías

Más información sobre Formula Manipulation and Simplification en Help Center y File Exchange.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by