File processing in for loop

1 visualización (últimos 30 días)
Turbulence Analysis
Turbulence Analysis el 20 de En. de 2021
Respondida: Turbulence Analysis el 20 de En. de 2021
Hi,
I have sequence of the operation which needs to be performed over 1000 files in the for loop. But, here I would like to consider only selecte fiels i.e. start from 55 to 65; then again 100 -125, then 240 - 260 like this I have carry out with selcted sequences. Is it posiible to implement this in for loop in same time. Please help me with this..

Respuesta aceptada

amin
amin el 20 de En. de 2021
I am not sure if I have understood your question correctly, but if you ask about having a for loop with different intervals, yes its possible:
for i=[100:125 240:260]
%your code
end

Más respuestas (1)

Turbulence Analysis
Turbulence Analysis el 20 de En. de 2021
Yes, This is what I was looking .. Thanks..

Categorías

Más información sobre Loops and Conditional Statements 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