06.08.2013 Views

内容简介作者简介 - 科学与工程计算系

内容简介作者简介 - 科学与工程计算系

内容简介作者简介 - 科学与工程计算系

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

L4 =<br />

0 0 1 1 0 0 0<br />

【例 2.13.2-2】逻辑操作应用之一:逐段解析函数的计算和表现。本例演示削顶整流正弦半<br />

波的计算和图形绘制。<br />

t=linspace(0,3*pi,500);y=sin(t);<br />

%处理方法一:<br />

z1=((t2*pi)).*y; % <br />

w=(t>pi/3&t7*pi/3&t=0).*y; % <br />

a=sin(pi/3);<br />

z=(y>=a)*a+(y

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!