How to find the power of a matrix?

1 回表示 (過去 30 日間)
Sameema Tariq
Sameema Tariq 2020 年 8 月 8 日
編集済み: Sameema Tariq 2020 年 8 月 8 日
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??

回答 (1 件)

KSSV
KSSV 2020 年 8 月 8 日
A=A/10^5 ; A = A.^2 ;
  1 件のコメント
Sameema Tariq
Sameema Tariq 2020 年 8 月 8 日
But issue is this that matrix is generated randomly. Its power may vary. It may be some other number at every iteration.

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeMATLAB についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by