How do I sum a number with only the top row of the matrix?
6 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
I have a 480 x 11 matrix of numbers (cash inflows) and need to sum a number, say negative 10, with the elements in the first row of the matrix only leaving the remaining elements unchanged. How can I sum this number (negative 10) with the original 480 x 11 matrix such that my output will be the same as the original matrix except that the numbers in the first row of the matrix will have been reduced by 10. Thanks!
0 commentaires
Réponse acceptée
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Low-Level File I/O 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!