Manish Kumar
Followers: 0 Following: 0
Feeds
已回答
Pausing code for some time
You can use pause function. pause(n); It will pause your code execution for n seconds. pause(n);
Pausing code for some time
You can use pause function. pause(n); It will pause your code execution for n seconds. pause(n);
4 years 前 | 0
已回答
"while" loop nested within "for" loop
n=10; ans=0; for i=1:n j=0; while j<i ans=i+j; end end
"while" loop nested within "for" loop
n=10; ans=0; for i=1:n j=0; while j<i ans=i+j; end end
4 years 前 | 1