evaldcm.m

来自「航天工程工具箱」· M 代码 · 共 12 行

M
12
字号
function xc=evaldcm(x,f)
%EVALDCM  Evaluate center of moments (discrete).
%   XC = EVALDCM(X,F)  evaluates the center of moments
%   for forces F at discrete points along a line X
%   on the body. XC is thus the point at which all forces
%   seems to be concentrated.
%
%   See also EVALCCM.

% Copyright (c) 2003-06-25, B. Rasmus  Anthin.

xc=sum(x.*f)/sum(f);

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?