Matlab之整数运算( 二 )



在号令行窗口 , 输入如下号令:
duller = 0.5 * street2; % Scale image with a double constant but create an integer
whos duller
按“Enter键” 。
如图7所示 。

Matlab之整数运算

文章插图

8在号令行窗口 , 输入如下号令:
subplot(1,2,1);
image(street2);
axis off equal tight
title('Original');  % Display image
subplot(1,2,2);
image(duller);
axis off equal tight
title('Duller');    % Display image
按“Enter键” 。
【Matlab之整数运算】如图8所示 。

原作者:Matlab教程举报
以上内容就是Matlab之整数运算的内容啦 , 希望对你有所帮助哦!

推荐阅读