楼主: lifeokay
16289 4

[问答] 求助!matlab求矩阵的N次方根 [推广有奖]

  • 0关注
  • 1粉丝

博士生

7%

还不是VIP/贵宾

-

威望
0
论坛币
505 个
通用积分
0
学术水平
4 点
热心指数
6 点
信用等级
3 点
经验
2687 点
帖子
78
精华
0
在线时间
384 小时
注册时间
2010-11-14
最后登录
2018-2-6

楼主
lifeokay 在职认证  发表于 2012-4-23 16:05:13 |AI写论文

+2 论坛币
k人 参与回答

经管之家送您一份

应届毕业生专属福利!

求职就业群
赵安豆老师微信:zhaoandou666

经管之家联合CDA

送您一个全额奖学金名额~ !

感谢您参与论坛问题回答

经管之家送您两个论坛币!

+2 论坛币
我知道用sqrtm(A)可以求矩阵的平方根。
我现在要求的是10次方根,不知道有没有这种命令,没有的话,只有增加或减少数据,
做8次方根或者16次方根。

二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

关键词:MATLAB matla atlab Lab Atl 矩阵 matlab

沙发
bobojin 发表于 2012-4-23 16:11:33
for 然后下面跟sqrtm不可以吗?

藤椅
jyliao 发表于 2012-4-23 21:10:42
A =rand(4)+eye(4);  % make sure Positive Def. Matrix
B = expm(0.1*logm(A));
norm(B*B*B*B*B*B*B*B*B*B-A)  % check precision

板凳
lifeokay 在职认证  发表于 2012-4-26 00:51:41
感谢回复的各位,matlab太强大了。
转移矩阵,竟然可以直接求N次方。
A=B^(1/n)

报纸
matlab-007 发表于 2016-8-29 21:32:25
^   Matrix power.
    Z = X^y is X to the y power if y is a scalar and X is square. If y is an
    integer greater than one, the power is computed by repeated
    multiplication. For other values of y the calculation
    involves eigenvalues and eigenvectors.
    Z = x^Y is x to the Y power, if Y is a square matrix and x is a scalar,
    computed using eigenvalues and eigenvectors.
    Z = X^Y, where both X and Y are matrices, is an error.
  
    C = MPOWER(A,B) is called for the syntax 'A ^ B' when A or B is an
    object.

您需要登录后才可以回帖 登录 | 我要注册

本版微信群
加好友,备注cda
拉您进交流群
GMT+8, 2025-12-30 01:03