Info

Questa domanda è chiusa. Riaprila per modificarla o per rispondere.

problem in cell to matrix conversion

1 visualizzazione (ultimi 30 giorni)
panagiotis
panagiotis il 12 Mar 2012
Chiuso: MATLAB Answer Bot il 20 Ago 2021
X{i}.dist{n}{j}=sqrt(sum((Xhelp(n,:))' - (Ahelp(1,:))').^2);%compute euclidean distance
the above i want to transform it in 2D matrix i.e. tt=X{i}.dist; but that's wrong..:( is anyone knows how can i do this??
thx in advance! note:i can't write X{i}.dist(n,j) cause n is variant..
  1 Commento
Jan
Jan il 13 Mar 2012
Please explain, whar "that's wrong" means explicitely. Does it poroduce an error message? Does the result differn from your expectations?

Risposte (0)

Questa domanda è chiusa.

Community Treasure Hunt

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

Start Hunting!

Translated by