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

1 visualización (últimos 30 días)
Ann G
Ann G el 16 de Nov. de 2015
Respondida: Walter Roberson el 16 de Nov. de 2015
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?

Respuestas (1)

Walter Roberson
Walter Roberson el 16 de Nov. de 2015
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]"

Categorías

Más información sobre Numeric Types en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by