Simplify equations symbolic toolbox?
4 views (last 30 days)
Show older comments
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 Comments
Answers (0)
See Also
Categories
Find more on Symbolic Math Toolbox in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!