mirror of
https://gitlab.com/orbital-debris-research/directed-study/report-1.git
synced 2025-06-15 14:36:46 +00:00
matlab code
This commit is contained in:
parent
149f148a94
commit
7003f4acc6
12
process.m
Normal file
12
process.m
Normal file
@ -0,0 +1,12 @@
|
||||
readtable("C:\Coding\fusion-properties\prepped.csv")
|
||||
dm = readmatrix("C:\Coding\fusion-properties\prepped.csv");
|
||||
|
||||
[idx, c sumd] = kmeans(dm,3);
|
||||
|
||||
[coeff,score]=pca(dm)
|
||||
gscatter(dm(:,1),dm(:,4),idx)
|
||||
gscatter(score(:,1),score(:,2),idx)
|
||||
sum(score,1)
|
||||
top = [dm(:,2), dm(:,4)]
|
||||
IDX = kmeans(top,3)
|
||||
gscatter(top(:,1),top(:,2),idx)
|
Loading…
x
Reference in New Issue
Block a user