How to find the power of a matrix?

1 Ansicht (letzte 30 Tage)
Sameema Tariq
Sameema Tariq am 8 Aug. 2020
Bearbeitet: Sameema Tariq am 8 Aug. 2020
I have a matrix in this form:
A=1.0e+05 *[-0.0000 -0.0000
1.5856 -0.0000 ];
And I want to write this matrix in this form:
A=[-0.0000 -0.0000
1.5856 -0.0000 ];
Most importantly, matrix is generated randomly. Its power may vary. It may be some other number at every iteration.
So,How can I do this??

Antworten (1)

KSSV
KSSV am 8 Aug. 2020
A=A/10^5 ; A = A.^2 ;
  1 Kommentar
Sameema Tariq
Sameema Tariq am 8 Aug. 2020
But issue is this that matrix is generated randomly. Its power may vary. It may be some other number at every iteration.

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu MATLAB finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by