Calculate the values of a polynomial.Input parameter p - vector of polynomial coefficients, x - matrix of the argument values.
Example
p=[-1 1]
x=[1 2;3 4]
result=[ 0 -1; -2 -3]
Sum of diagonal of a square matrix
1159 Solvers
Create matrix of replicated elements
266 Solvers
Given a 4x4 matrix, swap the two middle columns
300 Solvers
304 Solvers
341 Solvers