Modifying values in matrix

1 次查看(过去 30 天)
Write a MATLAB code that modifies the values in MockMatrix using the following conditions:
  1. A nested for loop must be used
  2. Replace values between 100 and 200 (inclusive) with 100
  3. Replace values between 600 and 700 (inclusive) with 600
Determine the sum of all the values in this new modified matrix. Use fprintf('%16.0f', total) to print all of the digits.
i've attached the data here. thank you.
  4 个评论

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Loops and Conditional Statements 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by