norm函数

如果A为向量

norm(A,p)

返回向量A的p范数。

norm(A)

返回向量A的2范数,即等价于norm(A,2)。

posted @ 2016-12-27 14:56  有梦就要去实现他  阅读(1083)  评论(0编辑  收藏  举报