Info
Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.
could anyone tell me which command can be used to get the sum to a fixed value for the following code
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
a=0.01;
b=0.09;
c=rand(2,3)
r=a+(b-a).*c
result=sum(sum(r))
The code executes and gives the result. Could anyone tell me how to get the result to a fixed value when i run the code several times
3 Kommentare
John D'Errico
am 26 Jan. 2018
Bearbeitet: John D'Errico
am 26 Jan. 2018
PLEASE STOP POSTING THIS SAME QUESTION. This is what, your 6th time posted on this question alone?
Antworten (0)
Diese Frage ist geschlossen.
Siehe auch
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!