全部版块 我的主页
论坛 数据科学与人工智能 数据分析与数据科学 MATLAB等数学软件专版
16232 4
2012-04-23
我知道用sqrtm(A)可以求矩阵的平方根。
我现在要求的是10次方根,不知道有没有这种命令,没有的话,只有增加或减少数据,
做8次方根或者16次方根。

二维码

扫码加我 拉你入群

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

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

全部回复
2012-4-23 16:11:33
for 然后下面跟sqrtm不可以吗?
二维码

扫码加我 拉你入群

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

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

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
二维码

扫码加我 拉你入群

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

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

2012-4-26 00:51:41
感谢回复的各位,matlab太强大了。
转移矩阵,竟然可以直接求N次方。
A=B^(1/n)
二维码

扫码加我 拉你入群

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

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

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.
二维码

扫码加我 拉你入群

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

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

相关推荐
栏目导航
热门文章
推荐文章

说点什么

分享

扫码加好友,拉您进群
各岗位、行业、专业交流群