代码搜索结果

找到约 10,000 项符合 6 的代码

6-6.m

figure; % 新打开一个窗口,并且默认为当前窗口 subplot(2,3,1:2) % 把窗体分割成2×3大小的窗口,p为一个向量的情况 t=0:.01:1; y1=sin(t*2*pi).*cos(t*pi); plot(t,y1); subplot(233) % 等价于subplot(2,3,3) y2=log(t+1); plot(t,y2); subplot(2

6-6.m

x = -2.9:0.1:2.9; y = randn(10000,1); %生成一个随机的矩阵 hist(y,x) title '笛卡儿坐标系下的直方图'