what does this command means?
1 次查看(过去 30 天)
显示 更早的评论
回答(2 个)
CS Researcher
2016-5-5
编辑:CS Researcher
2016-5-5
Assuming Training_String is of size M x N, the command runs a for loop where i goes from 1 to N. Basically a loop which runs N times.
0 个评论
Image Analyst
2016-5-5
The size() function gives the length of the dimension you give as the second argument. 2 means columns. So the loop will do as many iterations as there are columns in the Training_String array.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Loops and Conditional Statements 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!