number to the power of matrix

8 visualizaciones (últimos 30 días)
Mohammed Alsharif
Mohammed Alsharif el 10 de En. de 2014
Respondida: Matt J el 10 de En. de 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

Respuesta aceptada

Matt J
Matt J el 10 de En. de 2014

Más respuestas (0)

Categorías

Más información sobre Resizing and Reshaping Matrices en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by