how to plot multiple if else conditions ?

I have plotted an equation. when using if else condition separately i got the perfect plot. But when I used if else condition in a loop then it became a straight line. so what i will do? I attach my 2 files.

Respuestas (0)

Categorías

Más información sobre Networks en Centro de ayuda 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