Cell array convert into double
조회 수: 3 (최근 30일)
이전 댓글 표시
Hi,
I have below cell array of numeric values, I want to convert them into double array Input:
{[ 315]}
{[ 315]}
{[ 315]}
{[337.5000]}
{[337.5000]}
Please find the attached file
댓글 수: 0
답변 (1개)
madhan ravi
2020년 7월 14일
Wanted = cat(1, cell_array{:})
댓글 수: 2
madhan ravi
2020년 7월 14일
cell_array =
5×1 cell array
{[ 315]}
{[ 315]}
{[ 315]}
{[337.5000]}
{[337.5000]}
>> Wanted = cat(1, cell_array{:})
Wanted =
315.0000
315.0000
315.0000
337.5000
337.5000
참고 항목
카테고리
Help Center 및 File Exchange에서 Matrices and Arrays에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!