ABDALHADI ABU ZEYNEH
Followers: 0 Following: 0
Feeds
已回答
How do I display only the last iteration
x='8453365'; theSum = 0; for k =1:length(x) theSum = theSum + x(k); end disp([theSum, theSum/length(x)])
How do I display only the last iteration
x='8453365'; theSum = 0; for k =1:length(x) theSum = theSum + x(k); end disp([theSum, theSum/length(x)])
4 years 前 | 0