Info

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

problem in cell to matrix conversion

1 次查看(过去 30 天)
panagiotis
panagiotis 2012-3-12
关闭: MATLAB Answer Bot 2021-8-20
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 个评论
Jan
Jan 2012-3-13
Please explain, whar "that's wrong" means explicitely. Does it poroduce an error message? Does the result differn from your expectations?

回答(0 个)

此问题已关闭。

Community Treasure Hunt

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

Start Hunting!

Translated by