what do symbols like "nn" and "kk" do in a MATLAB script?
4 次查看(过去 30 天)
显示 更早的评论
For example, what does the following portion of a script mean/do?
for kk = 1:size(session,1)
dara_folder{kk} = strcat("whatever name you want for that folder");
end
0 个评论
回答(1 个)
Star Strider
2017-2-1
The ‘kk’ is simply the variable name for a loop counter in this code. (Any valid variable name will work.) See the documentation on for (link) loops for a full explanation.
0 个评论
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!