Selecting certain rows?

1 view (last 30 days)
Anas Rao
Anas Rao on 9 Mar 2017
Edited: Guillaume on 9 Mar 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?

Accepted Answer

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

More Answers (0)

Tags

Community Treasure Hunt

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

Start Hunting!