Info

Cette question est clôturée. Rouvrir pour modifier ou répondre.

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

1 vue (au cours des 30 derniers jours)
Kona
Kona le 4 Avr 2016
Clôturé : MATLAB Answer Bot le 20 Août 2021
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

Réponses (1)

Joachim Schlosser
Joachim Schlosser le 4 Avr 2016
  1 commentaire
Kona
Kona le 4 Avr 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!

Translated by