expansion of trigonometric formula and phasor term
이전 댓글 표시
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
2017년 4월 7일
syms w t
f = exp(1i*w*t)
rewrite(f,'sincos')
카테고리
도움말 센터 및 File Exchange에서 Elementary Math에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!