www.gusucode.com > matlab 案例源码 matlab代码程序 > matlab/ComputeHypotenuseExample.m

    %% Compute Hypotenuse 
% Compute the hypotenuse of a right triangle with side lengths of |3| and
% |4|.
C = hypot(3,4)