了解 matlab 函数
Understanding a matlab function
for row = 1 : size(YourImage, 1)
thisRow = YourImage(row, :, :);
to_display(row,:,:) = thisRow;
image(to_display);
drawnow();
我是 matlab 的新手,我知道这个函数应该做什么,但我不知道怎么做,尤其是这两行:
for row = 1 : size(YourImage, 1)
而且我不明白这应该做什么:(row, :, :)
for row = 1 : size(YourImage, 1)
thisRow = YourImage(row, :, :);
to_display(row,:,:) = thisRow;
image(to_display);
drawnow();
我是 matlab 的新手,我知道这个函数应该做什么,但我不知道怎么做,尤其是这两行:
for row = 1 : size(YourImage, 1)
而且我不明白这应该做什么:(row, :, :)