cell配列に関する問題
이전 댓글 표시
添付画像のように、cell配列の中の配列がdouble型にならず、 実行できません。
どうすれば解決できますでしょうか。
例)[51,0.3037,0...] →1×6 double
[28,0.1266,0...] →1×6 double ...

답변 (1개)
Ameer Hamza
2020년 11월 11일
Xtrain = cell2mat(Xtrain);
or also
Xtrain = vertcat(Xtrain{:});
카테고리
도움말 센터 및 File Exchange에서 基本的な設定에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!