number to the power of matrix

조회 수: 6 (최근 30일)
Mohammed Alsharif
Mohammed Alsharif 2014년 1월 10일
답변: Matt J 2014년 1월 10일
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