Ask your own question, for FREE!
Mathematics 18 Online
OpenStudy (raffle_snaffle):

matlab help

OpenStudy (raffle_snaffle):

%% Problem 9.2 %{ Repeat the previous problem, this time using a while loop. %} % vector given in previous problem c9p2 = [1, 23, 43, 72, 87, 56, 98, 33]; n = 0; d = length(c9p2); a = 0; % while loop while (n <= d) a = a + c9p2(d); n = n + 1; end fprintf('The sum of c9p2 is: %0.f \n', a);

OpenStudy (raffle_snaffle):

@mjdennis

OpenStudy (raffle_snaffle):

same problem but using a while loop.

OpenStudy (raffle_snaffle):

got it figured out...

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!