フィルターのクリア

expansion of trigonometric formula and phasor term

2 ビュー (過去 30 日間)
Prashant Funde
Prashant Funde 2017 年 4 月 7 日
回答済み: KSSV 2017 年 4 月 7 日
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)

回答 (1 件)

KSSV
KSSV 2017 年 4 月 7 日
syms w t
f = exp(1i*w*t)
rewrite(f,'sincos')

カテゴリ

Help Center および File ExchangeFormula Manipulation and Simplification についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by