MATLAB Answers

how can add lamda value to matrix in image processing?

29 views (last 30 days)
How can add lamda to matrix in image processing ?
I have lamda value, and I need to add it to the matrix, all Z,H,B ,A are matrixs
lamda=0.6;
Z= lamda+H*lamda^(-1)*B+lamda+A;
is that right?
  3 Comments

Sign in to comment.

Accepted Answer

Aghamarsh Varanasi
Aghamarsh Varanasi on 25 Jan 2021
Edited: Aghamarsh Varanasi on 25 Jan 2021
Hi,
You can add a scalar ("lamda") to a matrix by using the '+' operator. Note that this addes 'lamda' to all the elements of the matrix. Refer to this documentation for more details.
You can even multiply or divide a matrix with a constant.
For more details on arithmetic operators in MATLAB refer to this documentation page.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!

Translated by