function yesno = isnumeric(P) % ISNUMERIC -- check whether matrix polynomial has numerical coefficients % % yesno = isn…
embedded+mathematics 源代码
汇集 embedded+mathematics 相关的电路原理图、PCB工程文件、单片机/FPGA源代码、数据手册与应用设计方案。
function yesno = isconstant(P) % ISCONSTANT -- check whether matrix polynomial is a constant matrix % % yesno = isconst…
function yesno = eq(P1,P2) % EQ -- check matrix polynomials for equality % % yesno = (P1 == P2) % yesno = eq(P1,…
function y = factorial(x) % FACTORIAL -- factorial function % % y = factorial(x) % % where % % factorial(n) = …
function b = binomial(m,n) % BINOMIAL -- binomial coefficient % % b = binomial(m,n) % % Calculates the binomial …
function yesno = isidentity(P) % ISIDENTITY -- check whether Laurent polynomial is identity matrix % % yesno = isidenti…
function M = moment(P,n) % MOMENT - compute moments of a matrix polynomial % % M = moment(P,n) % % The nth moment of…
function yesno = ismonomial(P) % ISMONOMIAL -- check whether matrix polynomial is a monomial % % yesno = ismonomial(P) …
function Q = reverse(P) % REVERSE -- reverse matrix polynomial % % Q = reverse(P) % % Reverses the order of coeffici…
function Q = uplus(P) % UPLUS -- unary plus for matrix polynomials % % Q = + P % Q = uplus(P) % % This routi…