Find Beta in Half Rectifier on matlab

8 views (last 30 days)
Hi guys, please help me slove this , i need code matlab can do it.

Accepted Answer

John D'Errico
John D'Errico on 1 Jun 2020
Edited: John D'Errico on 1 Jun 2020
WHAT DID YOU TRY? If nothing, why not?
Did you try using the symbolic toolbox? It looks like solve won't give an analytical result. But it will still find a numerical solution.
Did you try using fzero?
In fact, both solve and fzero returned a solution that was essentially exact to double precision.
I won't report the one line solutions I used in both cases, since I wonder if this may be homework.
Note, there will be infinitely many solutions. As beta grows large, the solutions must approach the solutions to sin(beta - 1.11) == 0. That will happen at asymptotic increments of pi to beta. So, while the first solution arises at beta=1.53962483277937, there will be a solution (reported by fzero) at 51.3754824574438.
16*pi + 1.11
ans =
51.3754824574367
Again, I will not show the one line of code used to produce these solutions unless you make an effort to solve what I think to be homework.
  3 Comments
John D'Errico
John D'Errico on 3 Jun 2020
Try using fzero. If you don't try, you will never learn. For example,
fun = @(B) sin(B - 1.11) + 0.896*exp(-B/2.01);
Now, what does fzero do on the function fun? TRY IT! Read the help for fzero. Look at the examples. You learn by trying things. Then the next time you will remember, and it will make sense, without needing to ask for someone to do it for you.

Sign in to comment.

More Answers (0)

Communities

More Answers in the  Power Electronics Control

Categories

Find more on Mathematics 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!