www.gusucode.com > 高等数学问题求解源码程序 > CH02/example02_05.m

    web -broswer http://www.ilovematlab.cn/forum-221-1.html
disp([repmat('=',1,34),'九九乘法表',repmat('=',1,34)])
for r=1:9                                        
    for c=1:r                                    
        p=r*c;                                   
        fprintf('%d×%d=%2d  ',c,r,p)             
    end                                          
    fprintf('\n')                                
end