How to solve non linear equation?

5 views (last 30 days)
muneeb ahmad
muneeb ahmad on 4 Aug 2015
Answered: Sean de Wolski on 4 Aug 2015
How can solve the simultaneous equations to get the angles for selective harmonic elimination in a PWM VSI.
For example, how can I solve these equations
m = (4/pi)*(1-2*cos(a) + 2*cos(b) - 2*cos(c))
0 = (1 - 2*cos(5*a) + 2*cos(5*b) - 2*cos(5*c))
0 = (1 - 2*cos(7*a) + 2*cos(7*b) - 2*cos(7*c))
I need to get the values of angles a, b and c.

Answers (1)

Sean de Wolski
Sean de Wolski on 4 Aug 2015
Assuming you know m, this can be solved with fsolve in the Optimization Toolbox
doc fsolve

Community Treasure Hunt

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

Start Hunting!