フィルターのクリア

cell array with mixed data types into single type

2 ビュー (過去 30 日間)
Leela Sai Krishna
Leela Sai Krishna 2019 年 2 月 28 日
回答済み: Andrei Bobrov 2019 年 2 月 28 日
i have cell array with mixed data types(single and double precision) randomly. how to convert it into one type in matlab

採用された回答

Andrei Bobrov
Andrei Bobrov 2019 年 2 月 28 日
Let A - your cell array:
out = cellfun(@double,A);

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeData Type Conversion についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by