Find Beta in Half Rectifier on matlab
3 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Mohammad Amiri
il 1 Giu 2020
Commentato: Mohammad Amiri
il 10 Giu 2020
Hi guys, please help me slove this , i need code matlab can do it.
0 Commenti
Risposta accettata
John D'Errico
il 1 Giu 2020
Modificato: John D'Errico
il 1 Giu 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 Commenti
John D'Errico
il 3 Giu 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.
Più risposte (0)
Community
Più risposte nel Power Electronics Control
Vedere anche
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!