Clear Filters
Clear Filters

Info

This question is closed. Reopen it to edit or answer.

Find y values from x value.

1 view (last 30 days)
sreelekshmi ms
sreelekshmi ms on 3 Mar 2020
Closed: MATLAB Answer Bot on 20 Aug 2021
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 Comments
KSSV
KSSV on 3 Mar 2020
Which column of data is x and y?
sreelekshmi ms
sreelekshmi ms on 3 Mar 2020
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);

Answers (0)

This question is closed.

Community Treasure Hunt

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

Start Hunting!