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 ExchangeNetworks についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by