matlab画五角星

2026-02-14 02:25:40

1、建立脚本文件star.m

2、编写程序代码

n=1:2:11; x=sin(0.4*n*pi); y=cos(0.4*n*pi); plot(x,y)

3、在命令窗口中输入star

猜你喜欢