Zero out values from a specific row in a matrix
Afficher commentaires plus anciens
I create a matrix, I need to reset all values above or below a certain line
c = randi([50 90],1,900); % rows in the matrix before or after which you need to reset everything
x = rand(100,900);
I would appreciate any help
1 commentaire
Jan
le 24 Fév 2022
Does "reset" means, to set the value to 0? A small example with inputs and output would clarify this.
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Matrix Indexing 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!