center of matrix value
Afficher commentaires plus anciens
How can i find the center value of a matrix NxN, where N is odd number. After that, how can i change that number for another number
Réponse acceptée
Plus de réponses (1)
Tommy
le 26 Avr 2020
centerValue = A((N*N+1)/2);
A((N*N+1)/2) = newValue;
1 commentaire
Alejandro Alarcon
le 26 Avr 2020
Catégories
En savoir plus sur Aerospace Blockset dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!