number to the power of matrix

6 vues (au cours des 30 derniers jours)
Mohammed Alsharif
Mohammed Alsharif le 10 Jan 2014
Réponse apportée : Matt J le 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

Réponse acceptée

Matt J
Matt J le 10 Jan 2014

Plus de réponses (0)

Catégories

En savoir plus sur Resizing and Reshaping Matrices dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by