How can I get full values instead of 1x4 double?
1 次查看(过去 30 天)
显示 更早的评论
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 个评论
回答(1 个)
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]"
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Numeric Types 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!