資源簡(jiǎn)介
本程序可以在matlab下直接運(yùn)營(yíng),繪出彩虹圖案
代碼片段和文件信息
hold?on;
i=-1.1:.1:1.1
y=abs(i);
p=plot(iy);
set(p‘Color‘‘white‘‘LineWidth‘8);
offset=0.04;
r=1;
x=linspace(-rr1000);
y1=sqrt(power(r2)-power(x2));
p=plot(xy1);
set(p‘Color‘‘red‘‘LineWidth‘8);
r=r-offset;
x=linspace(-rr1000);
y1=sqrt(power(r2)-power(x2));
p=plot(xy1);
set(p‘Color‘‘yellow‘‘LineWidth‘8);
r=r-offset;
x=linspace(-rr1000);
y1=sqrt(power(r2)-power(x2));
p=plot(xy1);
- 上一篇:CT圖像重建的MATLAB代碼
- 下一篇:pam.m
評(píng)論
共有 條評(píng)論