Info

此问题已关闭。 请重新打开它进行编辑或回答。

Find y values from x value.

2 次查看(过去 30 天)
sreelekshmi ms
sreelekshmi ms 2020-3-3
关闭: MATLAB Answer Bot 2021-8-20
If x is my x values how can I find corresponding y values, I am very much confused. Anybody, please help me.
clc;
clear;
clear obj;
data=xlsread('Glassxl.xlsx');
asc=sort(data);
minpts=6;
epsilon=4;
[idx, corepts] = dbscan(asc,epsilon,minpts);
gscatter(asc(:,1),asc(:,2),idx);
x=data(corepts);
  2 个评论
KSSV
KSSV 2020-3-3
Which column of data is x and y?
sreelekshmi ms
sreelekshmi ms 2020-3-3
I only have this dataset. If I partition the data as X and Y. Then how can I find it?
If I partition the data is there any change occur in that x points?
From the above plot(dbscan figure) is there is any way to find that x and y values(from that corepts)? Please help me.
X=data(1:107);
Y=data(108:end);

回答(0 个)

此问题已关闭。

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by