Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Multidimensional cluster generation in MATLAB/Octave

License

NotificationsYou must be signed in to change notification settings

clugen/MOCluGen

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CheckscodecovdocsMITView MOCluGen on File ExchangeOpen in MATLAB Online

MOCluGen

Summary

MOCluGen is a MATLAB/Octave implementation of theclugen algorithm forgenerating multidimensional clusters with arbitrary distributions. Each clusteris supported by a line segment, the position, orientation and length of whichguide where the respective points are placed.

See thedocumentation andexamples for more details.

Install and use

Download the most recent version from thereleases page or clone thedevelopment version with following command:

$ git clone https://github.com/clugen/MOCluGen.git

Open MATLAB or GNU Octave andcd into the project's folder, and run thestartup.m script:

>>startup

MOCluGen can now be used, e.g:

>>o= clugen(2,4,400, [10],pi/8, [50,10],20,1,2,'seed',123);>> scatter(o.points(:,1),o.points(:,2),36,o.clusters,'filled','MarkerEdgeColor','k');

Example 2D

>>o= clugen(3,4,1000, [100],pi/8, [201525],16,4,3.5,'seed',123);>> scatter3(o.points(:,1),o.points(:,2),o.points(:,3),36,o.clusters,'filled','MarkerEdgeColor','k');

Example 3D

See also

  • pyclugen, a Python implementation oftheclugen algorithm.
  • CluGen.jl, a Julia implementation oftheclugen algorithm.
  • clugenr, an R implementationof theclugen algorithm.

Reference

If you use this software, please cite the following reference:

License

MIT License


[8]ページ先頭

©2009-2025 Movatter.jp