当前位置:网站首页>matlab cov函数详解
matlab cov函数详解
2022-07-05 10:36:00 【weixin_42673583】
matlab简单的说了以下 并没有跟出详细的计算过程
首先参考一篇博客写的很好
下面我举一个例子验证其具体的过程
下面是输入数据 上面是结果
A矩阵的第一列是1,2 第二列是3,5
则第一列的平均值是1.5,第二列的平均值是4
cov(x1,x1)=(1-1.5) ^ 2+(2-1.5) ^2 / 1= 1
cov(x1,x2)=(1-1.5)(3-4)+(2-1.5)(5-4) / 1 = 1
同样的就可以计算其他的。很显然不是么
边栏推荐
猜你喜欢
2022年危险化学品生产单位安全生产管理人员特种作业证考试题库模拟考试平台操作
Review the whole process of the 5th Polkadot Hackathon entrepreneurship competition, and uncover the secrets of the winning projects!
[observation] with the rise of the "independent station" model of cross-border e-commerce, how to seize the next dividend explosion era?
Go language-1-development environment configuration
重磅:国产IDE发布,由阿里研发,完全开源!
SAP UI5 ObjectPageLayout 控件使用方法分享
Based on shengteng AI Yisa technology, it launched a full target structured solution for video images, reaching the industry-leading level
基于昇腾AI丨爱笔智能推出银行网点数字化解决方案,实现从总部到网点的信息数字化全覆盖
5g NR system architecture
Some understandings of heterogeneous graphs in DGL and the usage of heterogeneous graph convolution heterographconv
随机推荐
ModuleNotFoundError: No module named ‘scrapy‘ 终极解决方式
使用bat命令一键启动常用浏览器
脚手架开发进阶
小程序框架Taro
Do you really understand the things about "prototype"? [part I]
关于vray5.2怎么关闭日志窗口
32: Chapter 3: development of pass service: 15: Browser storage media, introduction; (cookie,Session Storage,Local Storage)
Taro进阶
磨礪·聚變|知道創宇移動端官網煥新上線,開啟數字安全之旅!
小红书自研KV存储架构如何实现万亿量级存储与跨云多活
在C# 中实现上升沿,并模仿PLC环境验证 If 语句使用上升沿和不使用上升沿的不同
flex4 和 flex3 combox 下拉框长度的解决办法
GBase 8c数据库如何查看登录用户的登录信息,如上一次登录认证通过的日期、时间和IP等信息?
NAS与SAN
In the year of "mutual entanglement" of mobile phone manufacturers, the "machine sea tactics" failed, and the "slow pace" playing method rose
数组、、、
Web Components
Web3基金会「Grant计划」赋能开发者,盘点四大成功项目
2022年危险化学品经营单位主要负责人特种作业证考试题库及答案
Comparative learning in the period of "arms race"