Modifying values in matrix
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Write a MATLAB code that modifies the values in MockMatrix using the following conditions:
- A nested for loop must be used
- Replace values between 100 and 200 (inclusive) with 100
- 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.
Réponses (0)
Voir également
Catégories
En savoir plus sur Loops and Conditional Statements dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!