フィルターのクリア

Could anyone help me to solve the issue.

2 ビュー (過去 30 日間)
jaah navi
jaah navi 2019 年 9 月 12 日
回答済み: madhan ravi 2019 年 9 月 12 日
position =[1 2;
1 3;
2 4;
3 4]
NN= num2cell(position,2)
when i run the code i am getting the result as
NN =
[1x2 double]
[1x2 double]
[1x2 double]
[1x2 double]
but i want to have NN in the following manner
NN=
{1x2 cell}
{1x2 cell}
{1x2 cell}
{1x2 cell}
Could anyone please help me on this.

採用された回答

madhan ravi
madhan ravi 2019 年 9 月 12 日
NN = num2cell(num2cell(position),2)

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeMultidimensional Arrays についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by