Matrix times factor, how can one factor be multiplied with all elements of a matrix individually?

hey,
i would like to multiply a matrix A(10 30, 20 50) with a factor affecting all values of the matrix individually. E.g. factor 0.8 would result in A(8 24, 16 40). Thx so much.
Lukas

Categories

Asked:

on 27 Nov 2013

Edited:

on 27 Nov 2013

Community Treasure Hunt

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

Start Hunting!