Feeds
提问
I am out of practice with MATLAB and I'm trying to get the sum from a loop to add itself to the sum of each iteration of the loop. I can accomplish by manually stepping the loop, but I know there must be an easier way. Can someone please help?
%Manual stepping of "loop" clear clc h=input('What is height? '); l=input('What is length? '); w=input('What ...
8 years 前 | 2 个回答 | 0