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

📄 test_hypersphere_area.m

📁 一个用EM算法的源程序
💻 M
字号:
% Test function for hypersphere area.clc; clear all; close all;% Check the area for a couple special cases.r = 13;hypersphere_area(1, r) - 2hypersphere_area(2, r) - 2*pi*rhypersphere_area(3, r) - 4 * pi * r^2% Display the volume of the unit hypersphere as a function of dimension.dimensionCount = 20;area = zeros(1,dimensionCount);for dimensionIndex = 1:dimensionCount,    area(dimensionIndex) = hypersphere_area(dimensionIndex);endplot(1:dimensionCount, area, '*')title('Area of a unit hypersphere a function of Dimension')xlabel('Dimension')ylabel('Area')

⌨️ 快捷键说明

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