如何导出DBSCAN中的核心点 matlab
1 #include “DataPoint.h“
2
3 //默认构造函数
4 DataPoint::DataPoint()
5 {
6 }
7
8 //构造函数
9 DataPoint::DataPoint(unsigned long dpID,double* dimension , bool isKey):isKey(isKey),dpID(dpID)
10 {
11 //传递每维的维度数据
12 for(int i=0; i《DIME_NUM;i++)
13 {
14 this-》dimension[i]=dimension[i];
15 }
16 }
17
18 //设置维度数据
19 void DataPoint::SetDimension(double* dimension)
20 {
21 for(int i=0; i《DIME_NUM;i++)
22 {
23 this-》dimension[i]=dimension[i];
24 }
25 }
26
27 //获取维度数据
28 double* DataPoint::GetDimension()
29 {
30 return this-》dimension;
31 }
32
33 //获取是否为核心对象
34 bool DataPoint::IsKey()
35 {
36 return this-》isKey;
37 }
38
39 //设置核心对象标志
40 void DataPoint::SetKey(bool isKey)
41 {
42 this-》isKey = isKey;
43 }
44
45 //获取DpId方法
46 unsigned long DataPoint::GetDpId()
47 {
48 return this-》dpID;
49 }
50
51 //设置DpId方法
52 void DataPoint::SetDpId(unsigned long dpID)
53 {
54 this-》dpID = dpID;
55 }
56
57 //GetIsVisited方法
58 bool DataPoint::isVisited()
59 {
60 return this-》visited;
61 }
62
63
64 //SetIsVisited方法
65 void DataPoint::SetVisited( bool visited )
66 {
67 this-》visited = visited;
68 }
69
70 //GetClusterId方法
71 long DataPoint::GetClusterId()
72 {
73 return this-》clusterId;
74 }
75
76 //GetClusterId方法
77 void DataPoint::SetClusterId( long clusterId )
78 {
79 this-》clusterId = clusterId;
80 }
81
82 //GetArrivalPoints方法
83 vector《unsigned long》& DataPoint::GetArrivalPoints()
84 {
85 return arrivalPoints;
86 }
如何采用MATLAB绘制等高线
采用MATLAB绘制等高线的基本方法:
基本调用格式为 contour(x,y,z,n),contour3(x,yz,n),contourf(x,y,z,n)(带填充),其中 n 表从最低位置到最高位置的等高线的条数。
缺省 x,y 状态时表示为二维等高线图。
MATLAB7.0网上序列号
Matlab 7 (R14) 注册码1:14-13299-56369-16360-32789-51027-35530-39910-50517-56079-43171-43696-14148-64597-46518-35191-10070-58980-25665-36629-51033-46438-01127-52395-28569-20030-38795-14563-11876-23292-58825-37547-05827-26397
Matlab 7 (R14) 注册码2:14-58204-39252-07634-11570-16849-09455-22809-05445-13616-29058-08276-06885-12215-41987-21894-60423-57622-18647-58411-24238-20443-59027-07209-27706-28292-14609-15393-48293-13036-12293-43713-57876-43362
Matlab 7 (R14) 注册码3:14-44889-04614-04275-46147-23559-43066-41714-23083-65272-04997-17469-27919-17226-59862-27901-53983-56217-20094-53460-62647-58166-24499-35558-19511-44882-53016-25658-61109-03776-34505-00776-15813-07183
Matlab 7 (R14) 注册码4:14-02863-32167-49274-14620-55383-23033-26960-31585-34411-64505-59377-01535-25859-02729-42340-44002-31180-19826-51572-37426-25833-53451-02530-20898-18863-41455-29228-13667-31335-59199-04825-64974-59539
Matlab 7 (R14) 注册码5:14-31062-57999-64507-28421-43456-35967-55178-20933-12777-34026-44684-07146-17266-64175-62985-50264-38373-35045-48372-03550-51628-06609-24618-64094-55458-49747-04848-24494-63995-46820-01807-20764-37086
Matlab PLP(Personal Licence Password)
Matlab 7 (R14) 注册码1:14-58204-39252-07634-11570-16849-09455-22809-05445-13616-29058-08276-06885
-12215-41987-21894-60423-57622-18647-58411-24238-20443-59027-07209-27706-
28292-14609-15393-48293-13036-12293-43713-57876-43362
Matlab 7 (R14) 注册码2:14-44889-04614-04275-46147-23559-43066-41714-23083-65272-04997-17469-27919
-17226-59862-27901-53983-56217-20094-53460-62647-58166-24499-35558-19511-
44882-53016-25658-61109-03776-34505-00776-15813-07183
Matlab 7 (R14) 注册码3:14-02863-32167-49274-14620-55383-23033-26960-31585-34411-64505-59377-01535
-25859-02729-42340-44002-31180-19826-51572-37426-25833-53451-02530-20898-
18863-41455-29228-13667-31335-59199-04825-64974-59539
Matlab 7 (R14) 注册码4:14-31062-57999-64507-28421-43456-35967-55178-20933-12777-34026-44684-07146
-17266-64175-62985-50264-38373-35045-48372-03550-51628-06609-24618-64094-
55458-49747-04848-24494-63995-46820-01807-20764-37086
Matlab 7 (R14) 注册码5:14-17107-22787-29968-14354-40195-52542-37833-61505-03296-57542-10587-61927
-24639-23185-47049-43791-51460-27360-26190-65454-27576-01212-32058-00132-
19787-28479-08728-21126-59415-29872-44199-41000-65357
Matlab 7 (R14) 注册码6:
14-35392-57842-08484-51918-65127-20615-58251-25863-41734-36749-62468-18588-17416-
34304-09016-01360-60742-14636-39593-62798-29971-50921-64950-39730-63578-40265-12488
-31210-33908-42704-31275-23962-29047
Matlab 7 (R14) 注册码7:
14-13531-19296-24560-20147-44308-03958-00844-31365-30221-49822-53101-49371-40464-
62160-05002-40310-37359-48633-64466-15884-57760-64649-27202-63216-21440-58183-16381
-31228-38995-55241-00649-11266-22286
Matlab 7 (R14) 注册码8:
14-13079-17698-23560-45609-07352-05352-05350-56924-06021-29849-49518-65460-21329-
16030-08711-42918-36765-10752-22284-40230-60254-23812-15890-10926-28557-33310-64529
-52031-44719-51491-31733-52511-04580
Matlab 7 (R14) 注册码9:
14-33171-17783-64592-35456-50316-07400-44955-36962-37980-13959-26362-17710-64056
-38199-63996-17554-20508-45692-11950-26271-04118-15594-56475-57425-15435-47845-62908
-17443-47971-65086-33513-16377-01657
Matlab 7 (R14) 注册码10:
14-24872-36179-32308-22113-61986-33825-00564-45479-60426-10395-51330-19488-62201-
37785-19497-45389-18974-51073-03706-04875-59691-49786-28969-00719-61582-14402-53787
-33213-56814-33775-57022-14254-56498
Matlab 2006 注册码:
15-54100-08086-49021-54841-64952-459 85-21475-34481-19823-19523-19728-170 90-26119-37895-50720-16535-33587-55180-06922-45728-00419-28946-25517-606 73-17646-58722-49086-56091-17203-256 95-13709-45003-34962-39040-19631-293 50-26334-27138-25079-48595-53178-11634-54178
用户名:PowerShadow
序列号:VVR29E-R4WCK2-K4T111-V1YHTP-4JYJDD
NAME:shenhaiyu
CODE:12345-78945-98745-56321-15489-12458
14-12983-45196-01771-10400-57899-03404-24479-08313-34607-43239-25741-23731-03126-62372-65178-03954-24805-44941-33496-07138-28709-17498-40825-58228-01039-60521-62528-32956-44898-49998-22083-26797-47799-21841-20152-51331-27464-21474-08230-48209-64357-39965-49850
-dbscan