Zero out values from a specific row in a matrix
Mostrar comentarios más antiguos
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 comentario
Jan
el 24 de Feb. de 2022
Does "reset" means, to set the value to 0? A small example with inputs and output would clarify this.
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Resizing and Reshaping Matrices en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!