How do I find the reciprocal of all the elements within an array?

103 views (last 30 days)
Say I have array, A=[3 1 5 6;8 1 9 7;4 0 2 5], how would I calculate the reciprocal of element? How about the square root?

Answers (1)

Walter Roberson
Walter Roberson on 29 Nov 2015

Categories

Find more on Matrices and Arrays in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!