How to find the power of a matrix?

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??

Respuestas (1)

KSSV
KSSV el 8 de Ag. de 2020

0 votos

A=A/10^5 ; A = A.^2 ;

1 comentario

Sameema Tariq
Sameema Tariq el 8 de Ag. de 2020
But issue is this that matrix is generated randomly. Its power may vary. It may be some other number at every iteration.

Iniciar sesión para comentar.

Categorías

Más información sobre Mathematics en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

el 8 de Ag. de 2020

Editada:

el 8 de Ag. de 2020

Community Treasure Hunt

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

Start Hunting!

Translated by