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

📄 normxy.m

📁 计量工具箱
💻 M
字号:
function [teast,tnorth] = normxy(east,north)% PURPOSE: Perform isotropic normalization of x-y coordinates%---------------------------------------------------% USAGE: [easto northo] = normxy(east,north)% where:   east  = longitude (x-direction) coordinates%          north = lattitude (y-direction) coordinates%---------------------------------------------------% RETURNS: easto  = normalized east coordinate%          northo = normalized north coordinate%---------------------------------------------------% coded from FORTRAN code supplied% by Brunsdon, Fotheringham, Charlton [nobs junk] = size(east);% compute meansxbar = mean(east);ybar = mean(north);% compute variancexvar = std(east)*std(east);yvar = std(north)*std(north);% do normalizationsdist = sqrt(xvar+yvar);teast = east - xbar*ones(nobs,1);tnorth = north - ybar*ones(nobs,1);teast = teast*(1/sdist);tnorth = tnorth*(1/sdist);

⌨️ 快捷键说明

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