number to the power of matrix

3 次查看(过去 30 天)
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

采纳的回答

Matt J
Matt J 2014-1-10

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Resizing and Reshaping Matrices 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by