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.

Risposte (0)

Categorie

Scopri di più su Networks in Centro assistenza e File Exchange

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by