number to the power of matrix

3 Ansichten (letzte 30 Tage)
Mohammed Alsharif
Mohammed Alsharif am 10 Jan. 2014
Beantwortet: Matt J am 10 Jan. 2014
Hi All,
I am working on a program, and at a certain step and need to perform the following. I have a "non-square" matrix r, and simply I want to construct the matrix d in which each element equals to 10 to the power of the corresponding element in matrix r, i.e. d = 10 ^ r element-wise.
Is there a way to do this?
Thanks a lot

Akzeptierte Antwort

Matt J
Matt J am 10 Jan. 2014

Weitere Antworten (0)

Kategorien

Mehr zu Resizing and Reshaping Matrices finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by