random number estimate value
Ältere Kommentare anzeigen
Hi
In this problem I know that for a=0.5 q=125. I try fo find that now I don't know a value but I know q. How can I estimate a value and use random command for a value.
a =rand(); % estimate number
b = 0.1;
fun = @(x,y) a*x.^2 + b*y.^2;
q = integral2(fun,0,5,-5,0) % real value 125
Akzeptierte Antwort
Weitere Antworten (1)
erhan aksu
am 13 Jan. 2019
0 Stimmen
1 Kommentar
Star Strider
am 13 Jan. 2019
As always, my pleasure.
Kategorien
Mehr zu Random Number Generation finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!