I've been stuck on this MATLAB question

1 次查看(过去 30 天)
I'm supposed to write a code on MATLAB that solves this problem.
21855372 21397898 21303234 21849704 21647943 21485234 21825033
Take the last three digits of these numbers above and divide them by 1000. Then find arithmetic average of the numbers obtained.

回答(1 个)

Star Strider
Star Strider 2017-8-23
The rem or mod functions are your friends in this problem.

类别

Help CenterFile Exchange 中查找有关 Programming 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by