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

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)

1 Comment

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?

This question is closed.

Asked:

on 4 Apr 2016

Closed:

on 20 Aug 2021

Community Treasure Hunt

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

Start Hunting!