www.gusucode.com > matlab 案例源码 matlab代码程序 > matlab/LargestElementComparisonExample.m
%% Largest Element Comparison % Create a matrix and return the largest value between each of its elements compared to a scalar. % Copyright 2015 The MathWorks, Inc. A = [1 7 3; 6 2 9] %% B = 5; C = max(A,B)