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)])
5년 초과 전 | 0
