plotting a piecewise function-help

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

답변 (0개)

카테고리

도움말 센터File Exchange에서 Fourier Analysis and Filtering에 대해 자세히 알아보기

질문:

B
B
2015년 3월 31일

Community Treasure Hunt

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

Start Hunting!

Translated by