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

📄 unitrand.m

📁 wekaUT是 university texas austin 开发的基于weka的半指导学习(semi supervised learning)的分类器
💻 M
字号:
function sample = unitrand(dim)% UNITRAND  Generate unit random vector in dim dimensions% % SAMPLE = UNITRAND(DIM)   Generates a unit random vector that% comes from a uniform distr on the unit 'dim' dimensional sphere.% The method used is: generate N normally distr numbers, form a% vector and normalize to be of unit length!% % See: HAKMEN Item 27sample = randn(dim,1);n = norm(sample);sample = sample/n;

⌨️ 快捷键说明

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