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.

回答(0 个)

类别

帮助中心File Exchange 中查找有关 Networks 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by