converting matrix to string

so i have a matrix
data = ['e' 5985; 'e' 498598]
i need to assign the value in data(2,2) to A so A would be equal to a string '498598'

 採用された回答

Andrei Bobrov
Andrei Bobrov 2011 年 4 月 28 日

0 投票

can so
data = {'e' 5985; 'e' 498598};
A = num2str(data{2,2})

1 件のコメント

Oyinda
Oyinda 2011 年 4 月 28 日
thanks alot

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

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeNumeric Types についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by