⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 makesurf.m

📁 一种快速的多叉搜索树
💻 M
字号:
function [X,Y,Z]=makesurf(data,nx)
% [X,Y,Z]=makesurf(data,nx) converts the 3D data file data into
% three matices as need by surf(). nx tells how long the row of the
% output matrices are

  [m,n]=size(data);

  n=0;
  for i=1:nx:m,
    n = n+1;
    X(:,n) = data(i:i+nx-1,1);
    Y(:,n) = data(i:i+nx-1,2);
    Z(:,n) = data(i:i+nx-1,3);
  end;

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -