MATLAB Answers

Ann G
0

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

Asked by Ann G
on 16 Nov 2015
Latest activity Answered by Walter Roberson
on 16 Nov 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?

  0 Comments

Sign in to comment.

1 Answer

Answer by Walter Roberson
on 16 Nov 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]"

  0 Comments

Sign in to comment.