How can I get full values instead of 1x4 double?

조회 수: 3 (최근 30일)
Ann G
Ann G 2015년 11월 16일
답변: Walter Roberson 2015년 11월 16일
I use a matlab code to calculate texture features. But instead of real values like 3,0567 I get 1x4 double. How can I get real ones?

답변 (1개)

Walter Roberson
Walter Roberson 2015년 11월 16일
You are getting a cell array returned. You need to index it using {1}
For example,
TheResult = YourFunctioncall();
TheResult{1} %gives the content of the "[1 x 4 double]"

카테고리

Help CenterFile Exchange에서 Signal Processing Toolbox에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by