i have cell values of 1315x1 and i want to convert it to double.So far i tried but not getting the actual double values.
thanks in advance

댓글 수: 1

Guillaume
Guillaume 2018년 10월 9일
The answer depends entirely on what is in the cells. Unfortunately, you haven't said.

댓글을 달려면 로그인하십시오.

 채택된 답변

Stephen23
Stephen23 2018년 10월 9일
편집: Stephen23 2018년 10월 9일

0 개 추천

Another guess:
str2double
@Farman Shah: you have not told us what is in the cell array, so we have no idea what the data is, that needs to be converted into double or extracted into a double array. If you explain what your data is like, then we can help you get the answer that you need.

추가 답변 (1개)

jonas
jonas 2018년 10월 9일
편집: jonas 2018년 10월 9일

3 개 추천

have you tried cell2mat?
or simply,
A = [C{:}]

카테고리

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

태그

질문:

2018년 10월 9일

댓글:

2020년 3월 30일

Community Treasure Hunt

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

Start Hunting!

Translated by