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

📄 defaultlimits.m

📁 基于声源的方向定位程序
💻 M
字号:
function limits = defaultLimits(arr)% defaultLimits		calculate plotting limits since user didn't supply them% % limits = defaultLimits(arr)%    Given arr, a 2xN array of phone positions, calculate plotting limits%    that leave as much space around the array in x and y as the extent of%    the array itself.  The extent is the maximum of the extent in x and y.A = [min(arr'); max(arr')];extent = max(diff(A));limits = [1;1] * mean(A) + extent * [-1.5 -1.5; 1.5 1.5];limits = limits(:)';

⌨️ 快捷键说明

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