How can i obtain strucutre like this format, please ?

3 visualizaciones (últimos 30 días)
sam mohel
sam mohel el 10 de Abr. de 2022
Comentada: Image Analyst el 10 de Abr. de 2022
i'm new to matlab and was working on clustering using this link
if some can help me in this lines , how can i obtain like this structure as i have file of two columns for x,y and another file with three columns for the distance between them ..
fileName = 'demo.mat';
f=load(fileName); % NOTE that the 'demoData.mat' file includes a matrix <X> with *NE* elements and *2* dim,
% NE is the number of elements of a data set
the mat file in the example code contains like this
{'__header__': b'MATLAB 5.0 MAT-file, Platform: PCWIN64, Created on: Sat Nov 07 03:04:35 2015', '__version__': '1.0', '__globals__': [], 'X': array([[ 1.40325035, 1.22212839],
[ 2.37541376, 1.90058719],
[-0.69413515, 1.81762962],
...,
[-1.31957801, -1.155144 ],
[-1.38098383, -1.43077273],
[-1.21105289, -1.61001161]])}
  1 comentario
Image Analyst
Image Analyst el 10 de Abr. de 2022
You forgot to attach 'demo.mat'. I'll check back later for it.

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Programming en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by