Simplify equations symbolic toolbox?

12 visualizaciones (últimos 30 días)
Baljit
Baljit el 10 de Mayo de 2016
Editada: Baljit el 10 de Mayo de 2016
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);

Respuestas (0)

Categorías

Más información sobre Symbolic Math Toolbox 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