MATLAB: How to display in one variable the max of each one of two arrays

arrayMATLAB

a=[5 10 15]
b=[20 25 30]
c= ?

Best Answer

c = [max(a) max(b)];