?? average.m
字號:
function v_avg = average(V)% Average value of a vertices object%% Syntax:% "A = average(vtcs)"%% Description:% "average(vtcs)" returns a column vector containing the average value% of the points represented by "vtcs" (i.e. find the average value of% each dimension of "vtcs").%% Examples:%%%% "a = ["%% "2 2 4 4"%% "1 3 3 1"%% "0 0 0 0];"%% "vtcs = vertices(a);"%% "A = average(vtcs)"%%%% returns %%%% "A ="%% "3"%% "2"%% "0"%%%% See Also:% verticesN = length(V);v_avg = mean(V.list,2);
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -