number to the power of matrix

2 visualizzazioni (ultimi 30 giorni)
Mohammed Alsharif
Mohammed Alsharif il 10 Gen 2014
Risposto: Matt J il 10 Gen 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

Risposta accettata

Matt J
Matt J il 10 Gen 2014

Più risposte (0)

Categorie

Scopri di più su Resizing and Reshaping Matrices in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by