How to compute matrix ^ -0.5

Hi, I would like to know how can I compute a matrix X^-0.5. I know that X^-1 is the inverse so in matlab should it be X^-0.5 or inv(X^0.5) ?

2 Kommentare

David Goodmanson
David Goodmanson am 16 Apr. 2017
Bearbeitet: David Goodmanson am 16 Apr. 2017
Hi c,
Matlab is short for Matrix Laboratory, and people can just try stuff out and see what happens. It's highly informative to take a small matrix like x = rand(5,5) and compare the results of two expressions above.
Andrew Newell
Andrew Newell am 17 Apr. 2017
And then you can try multiplying the square of the result by X.

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Tags

Noch keine Tags eingegeben.

Gefragt:

am 16 Apr. 2017

Kommentiert:

am 17 Apr. 2017

Community Treasure Hunt

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

Start Hunting!

Translated by