Info

This question is closed. Reopen it to edit or answer.

Find Average using a While Loop

1 view (last 30 days)
Amanda Wojcik
Amanda Wojcik on 28 Oct 2017
Closed: John D'Errico on 28 Oct 2017
I am pretty new to MATLab and for my engineering class I have to find the average of a set of data values provided by my instructor. I had to create them as a text file and load them in, which I did successfully, but I don't know how to create a while loop in order to find the average. We also must use tic and toc to time the whole process. I would provide my code, but I haven't been able to start it because I have no clue where to even start. Thank you!

Answers (0)

This question is closed.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!