problem in cell to matrix conversion

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 件)

この質問は閉じられています。

質問済み:

2012 年 3 月 12 日

閉鎖済み:

2021 年 8 月 20 日

Community Treasure Hunt

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

Start Hunting!

Translated by