How can i write three different condition in a single loop

I want to write three different condition in single loop. My three conditions are;
if i==1
if 1<i<N
if i==N

 Respuesta aceptada

Más respuestas (0)

Categorías

Más información sobre Loops and Conditional Statements en Centro de ayuda y File Exchange.

Productos

Etiquetas

Preguntada:

el 11 de Mayo de 2022

Respondida:

el 11 de Mayo de 2022

Community Treasure Hunt

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

Start Hunting!

Translated by