I have a c={7 x 1 cell}, and used c1=str2double(c), but get NaN's any advice please.

 채택된 답변

Walter Roberson
Walter Roberson 2015년 10월 18일

2 개 추천

If the contents of the cell are already numeric and the task is to convert from a cell array to a purely numeric array, then
c1 = cell2mat(c);

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Data Type Conversion에 대해 자세히 알아보기

태그

질문:

2015년 10월 18일

답변:

2015년 10월 18일

Community Treasure Hunt

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

Start Hunting!

Translated by