%dblquad_exam2.m %计算二维高斯函数在圆形区域sqrt(x.^2+y.^2)
维纶 源代码
汇集 维纶 相关的电路原理图、PCB工程文件、单片机/FPGA源代码、数据手册与应用设计方案。
/****************** tc14-2.c 二维数组的存储 ******************/ #include "stdio.h" int main( ) { int a[3][4]; /* 定义二维…
/****************** tc17-2.c 二维数组与指针 ******************/ #include "stdio.h" main( ) { int a[2][3]={11,15,19,21,25,2…
[X,Y] = meshgrid([-2:.25:2]); %设置网格点 Z = X.*exp(-X.^2-Y.^2); [C,h]=contour3(X,Y,Z,30); %绘制三维轮廓图 grid off %关闭网格 %clabel(C,h)…
x=rand(1,100)*100; y=rand(1,100)*100; %绘制图标的XY轴的坐标 s=rand(1,100)*100; %绘制图标的大小 c=rand(1,100)*255; %绘制图标的颜色 subplot(2,1,1) …
[X,Y] = meshgrid([-2:.25:2]); %设置网格点 Z = X.*exp(-X.^2-Y.^2); [C,h]=contour3(X,Y,Z,30); %绘制三维轮廓图 grid off %关闭网格 %clabel(C,h)…
x=rand(1,100)*100; y=rand(1,100)*100; %绘制图标的XY轴的坐标 s=rand(1,100)*100; %绘制图标的大小 c=rand(1,100)*255; %绘制图标的颜色 subplot(2,1,1) …
[X,Y] = meshgrid([-2:.25:2]); %设置网格点 Z = X.*exp(-X.^2-Y.^2); [C,h]=contour3(X,Y,Z,30); %绘制三维轮廓图 grid off %关闭网格 %clabel(C,h)…
x=rand(1,100)*100; y=rand(1,100)*100; %绘制图标的XY轴的坐标 s=rand(1,100)*100; %绘制图标的大小 c=rand(1,100)*255; %绘制图标的颜色 subplot(2,1,1) …
题1189:这是一道简单的密码转换题。注意: 1.二维表的建立: char key[30][5]={{".-"},{"-..."},{"-.-."},{"-.."},{"."},{"..-."},......}; 2.在使用函数 strcpy,strc…