mass.m

来自「GloptiPoly 3: moments, optimization and 」· M 代码 · 共 19 行

M
19
字号
function y = mass(x)% @MEAS/MASS - Measure mass%% MASS(X) returns the mass (type MOM) of measure X% D. Henrion, 15 March 2006% Last modified on 20 April 2006[nr,nc] = size(x);for r = 1:nr for c = 1:nc  % Create moment of zeroth power of this measure  y(r,c) = mom(1,x(r,c).meas); endend 

⌨️ 快捷键说明

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