set a variable equal to the count
8 次查看(过去 30 天)
显示 更早的评论
how do I set a variable equal to the number of numbers in my array.
For example, if I have an array that contains 1981 numbers, and another array that contains 6229 numbers, how do I create a variable where k=1981 for the first array and k=6229 for the second and so on?
0 个评论
采纳的回答
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Matrices and Arrays 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!