how to count values in an array of a structure C
7 次查看(过去 30 天)
显示 更早的评论
I have an array of structure C of 5 elements. 'Values' is an array of doubles in each C(i). The numbers vary. How to count the number of Values in the array C, as a vector? I tried val_count = numl(C.Values) but it returns 5. But it returns one number--5. I expected to get an array of 5 with various integers for the Values in each C(i).
0 个评论
采纳的回答
更多回答(0 个)
另请参阅
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!