Simplify equations symbolic toolbox?
9 次查看(过去 30 天)
显示 更早的评论
I am trying to simplify the following equation such that the final equation can be written in terms of DC quantity, sinusoidal with fundamental frequency component and sinusoidal with second harmonic component. Is it possible to do so? Thanks a lot!
% code
syms I1 l Vc Vb M t w R L wt
syms phi th k % th = theta
M = 1- abs(k);
Vc = 2*Vb/(1+k);
%phi = atan2(w*L,R);
uaT = 0.5*(1 + M*cos(wt) + k);
uaB = 0.5*(1 - M*cos(wt - th) - k);
io = -M*Vc*sin(wt - th/2 + phi)*sin(th/2)/sqrt(R^2 + w^2*L^2);
i1 = I1 - M*Vc*sin(wt)/(2*w*l);
iaT = (i1 - io)*uaT;
kk = simplify(iaT);
0 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Symbolic Math Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!