Selecting certain rows?

3 visualizaciones (últimos 30 días)
Anas Rao
Anas Rao el 9 de Mzo. de 2017
Editada: Guillaume el 9 de Mzo. de 2017
I have 7200 row of data. I want to select the row after every 10 row (means that want to delete the 10 row in between. and then want to multiply it with 10^5. What should I do?

Respuesta aceptada

Guillaume
Guillaume el 9 de Mzo. de 2017
Editada: Guillaume el 9 de Mzo. de 2017
newmatrix = originalmatrix(1:11:end, :) * 1e5
This is really basic matlab. Have you gone through the getting started tutorial?

Más respuestas (0)

Categorías

Más información sobre Matrix Indexing en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by