I really thanks anyone for any comment how to convert the attached file to double. I tried the following comment but it doesn't work.
>> out = cell2mat(cellfun(@cell2mat,T_mon,'un',0));
Error using cat
Dimensions of matrices being concatenated are not consistent.
Error in cell2mat (line 75)
m{n} = cat(2,c{n,:});

 채택된 답변

Stephan
Stephan 2020년 3월 2일
편집: Stephan 2020년 3월 2일

0 개 추천

Due to the different lengths of all the entries you can not easily store them in a matrix, but as a column vector it will work easy:
T_mon_new = [T_mon{1,:}];
T_mon_new = vertcat(T_mon_new{1,:});

추가 답변 (0개)

카테고리

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

질문:

2020년 3월 2일

댓글:

2020년 3월 2일

Community Treasure Hunt

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

Start Hunting!

Translated by