How to solve an equation using numerical solver in Matlab?
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Hi everyone,
I want to solve this equation using numerical solver. I have value of R and want to calculate the coressponding value of n using numerical solver.
May someone help me here ......
R =1/n^2 [(n+1)ln(n+1)-n]
0 Kommentare
Akzeptierte Antwort
Alan Stevens
am 30 Sep. 2020
Look up documentation on fzero.
11 Kommentare
John D'Errico
am 30 Sep. 2020
But what is wrong with writing a loop? Just wrap that code inside a loop, where you change R each time through.
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Optimization finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!