Info

This question is closed. Reopen it to edit or answer.

How to find lines that have 5th column with number n*140 or n*150 and relocate them some lines below?

1 view (last 30 days)
Hello everyone,
I want to find lines that have 5th column with number n*140 or n*150. Then i want all these lines to have zeros and to transfer the "original" lines 163944 lines below. Does anyone know what to do?
Thanks in advance,
Kona

Answers (1)

Joachim Schlosser
Joachim Schlosser on 4 Apr 2016
  1 Comment
Kona
Kona on 4 Apr 2016
Thank you very much for your answer. I want to find those lines in my file that the fifth column is equal to n*140 or n*150, where n is natural number (1,2,3,...). I don't know how the above links could help me. Could you please be more specific?

Community Treasure Hunt

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

Start Hunting!