Multiplication of a matrix element wise with a polynomial

2 views (last 30 days)
How do I multiply a matrix element wise with a polynomial(it's again a matrix of different order) I want to multiply each element in the matrix, L=eye(2,4) with a polynomial of (s-3)

Accepted Answer

Azzi Abdelmalek
Azzi Abdelmalek on 10 Nov 2013
syms s
L=eye(2,4)
p=s-3
out=L*p

More Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!