zoukankan      html  css  js  c++  java
  • 常见向量范数和矩阵范数

    1、向量范数

      1-范数:,即向量元素绝对值之和,matlab调用函数norm(x, 1) 。

      2-范数:,Euclid范数(欧几里得范数,常用计算向量长度),即向量元素绝对值的平方和再开方,matlab调用函数norm(x, 2)。

      ∞-范数:,即所有向量元素绝对值中的最大值,matlab调用函数norm(x, inf)。

      -∞-范数:,即所有向量元素绝对值中的最小值,matlab调用函数norm(x, -inf)。

      p-范数:,即向量元素绝对值的p次方和的1/p次幂,matlab调用函数norm(x, p)。

    2、矩阵范数

      1-范数:, 列和范数,即所有矩阵列向量绝对值之和的最大值,matlab调用函数norm(A, 1)。

      2-范数:,谱范数,即A'A矩阵的最大特征值的开平方。matlab调用函数norm(x, 2)。

      ∞-范数:,行和范数,即所有矩阵行向量绝对值之和的最大值,matlab调用函数norm(A, inf)。

      F-范数:,Frobenius范数,即矩阵元素绝对值的平方和再开平方,matlab调用函数norm(A, ’fro‘)。

    附matlab中norm函数说明

      The norm of a matrix is a scalar that gives some measure of the magnitude of the elements of the matrix. The norm function calculates several different types of matrix norms:

      n = norm(A) returns the largest singular value of A, max(svd(A)).
      n = norm(A,p) returns a different kind of norm, depending on the value of p.

      

    When A is a vector:

      

      

  • 相关阅读:
    Python使用mechanize模拟浏览器
    <五>读《《大话设计模式》》之工厂模式
    SQLite3基本使用从shell到python
    Android Monkey具体解释
    生女孩继续生,直到男孩,100年后
    android 仿EF看视频弹出练习功能
    秒针系统-中国领先的第三方营销数据技术公司
    凤凰男_百度百科
    基于Web的在线建模工具
    WSS与Project Server集成
  • 原文地址:https://www.cnblogs.com/strongYaYa/p/6834539.html
Copyright © 2011-2022 走看看