Info

この質問は閉じられています。 編集または回答するには再度開いてください。

could anyone tell me which command can be used to get the sum to a fixed value for the following code

1 回表示 (過去 30 日間)
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 件のコメント
John D'Errico
John D'Errico 2018 年 1 月 26 日
編集済み: John D'Errico 2018 年 1 月 26 日
PLEASE STOP POSTING THIS SAME QUESTION. This is what, your 6th time posted on this question alone?
Prabha Kumaresan
Prabha Kumaresan 2018 年 1 月 26 日
But I am unable to get the answer what I expect. sorry to ask the same questions again and again.

回答 (0 件)

この質問は閉じられています。

タグ

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by