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

📄 percentiles_from_samples1d.m

📁 基于Matlab的地震数据处理显示和测井数据显示于处理的小程序
💻 M
字号:
function loc=percentiles_from_samples1d(samples,percentiles)% Function computes location of percentiles in a sample of a one-dimensional% variable%% Written by: E. R.: February 22, 2004% Last updated: February 16, 2006: Change the criterion for change from percent to fraction in line 15%%           loc=percentiles_from_samples1d(samples,percentiles)% INPUT% samples   samples of the random variable% percentiles  percentiles as fractions or in percent% OUTPUT% loc       locations such that percentiles(n) of the samples are <= loc(n)lx=length(samples)-1;if any(percentiles > 1)   percentiles=percentiles/100;endloc=interp1(0:lx,sort(samples),lx*percentiles);

⌨️ 快捷键说明

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