Filter löschen
Filter löschen

plotting a piecewise function-help

1 Ansicht (letzte 30 Tage)
B
B am 31 Mär. 2015
I want to plot Vl versus vs
function Vl= piecewisefunnn(vs); vs1 = vs>0.6; Vl(vs1)=(vs(vs1)-0.6); vs2 =(vs<0.6 & vs==0.6); Vl(vs2) = 0; vs= -20:20; plot(vs,Vl(vs)) end
thanx for your help

Antworten (0)

Kategorien

Mehr zu 2-D and 3-D Plots finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by