How to separate element from cell?

2 ビュー (過去 30 日間)
Mira le
Mira le 2019 年 11 月 25 日
コメント済み: Mira le 2019 年 11 月 25 日
U=SI
U =
1×2 cell array
[1×2 double] [1×2 double]
U{1}
ans =
1 2
>> U{2}
ans =
2 3
My question is: how to separate element of cell, and put them in vector:
vect=[ 1 2 3]

採用された回答

Andrei Bobrov
Andrei Bobrov 2019 年 11 月 25 日
unique([U{:}])
  1 件のコメント
Mira le
Mira le 2019 年 11 月 25 日
Thank you, it works

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

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

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by