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

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Numeric Types에 대해 자세히 알아보기

질문:

2011년 4월 28일

Community Treasure Hunt

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

Start Hunting!

Translated by