代码搜索:协方差矩阵
找到约 10,000 项符合「协方差矩阵」的源代码
代码结果 10,000
www.eeworm.com/read/134104/14008431
h souce.h
#include
#include
#include
#include"String.h"
#ifndef SOUCE_CLASS
#define SOUCE_CLASS
class Souce
{//字符表生成类
public:
Souce()
{//从文件中读取字符标准矩阵
ifstr
www.eeworm.com/read/236382/14017818
m coding_mcst.m
function [Code,Squc,k]=coding_mcst(Prob)
%曼彻斯特编码[Code,Squc,k]=coding_mcst(Prob)
%Prob :输入概率矩阵
%Code :输出编码
%Squc :比较概率次序
%k :编码比较次数
%输入判决
if sum(Prob)~=1
error('check the sum of Pr
www.eeworm.com/read/204479/15337827
c graph_deeptravel_adjmat_nrec.c
/* 用邻接矩阵表示的图的深度优先周游的非递归算法*/
#include
#include
#define MAXVEX 6
#define MAX 0
#define NON -1
typedef char VexType;
typedef float AdjType;
typedef struct {
int
www.eeworm.com/read/201342/15409848
txt 06-31.txt
例6-31 矩阵的指数和对数运算。
解:在命令窗口中输入如下命令,并按Enter键确认。
>> X=rand(5)
X =
0.7382 0.4103 0.0099 0.2722 0.9318
0.1763 0.8936 0.1389 0.1988 0.4660
0.4057 0.0579 0.202
www.eeworm.com/read/201342/15409879
txt 06-42.txt
例6- 42 求矩阵的Chollesky分解。
解:在命令窗口中输入如下命令,并按Enter键确认。
>> A=[4 -1 -1;-1 4.25 2.75;1 2.75 3.5]
A =
4.0000 -1.0000 -1.0000
-1.0000 4.2500 2.7500
1.0000 2.7500 3.5000
>> R=
www.eeworm.com/read/201342/15409906
txt 06-49.txt
例6- 49 使用reshape函数进行矩阵结构的改变。
>> A=[1:16]
A =
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
>> reshape(A,4,4)
ans =
1 5 9 13
2 6
www.eeworm.com/read/200130/15440666
m sumarize8_7_2.m
syms t s %定义基本符号变量
syms a b positive %对常数进行“限定性”设置
Mt = [dirac(t-a),heaviside(t-b);exp(-a*t)*sin(b*t),t^2*cos(3*t)]; %定义输入矩阵
MS = laplace(Mt,
www.eeworm.com/read/103612/15727996
cpp le_totalchoicegauss.cpp
//LE_TotalChoiceGauss.cpp 全选主元高斯消去法
#include //输入输出流头文件
#include "LinearEquation.h" //线性方程(组)求解头文件
void main()
{
int i;
double a[4][4] = //实系数矩阵
{
{0.2368, 0.2471,
www.eeworm.com/read/292161/8371971
c smatrix.c
#include "smatrix.h"
#include
#include
Status CreateRLSMatrix(RLSMatrix * sm)
{
int m=1,n=1,num=1;
sm->tu=0;
fflush(stdin);
printf("请输入矩阵的行数和列数:");
scanf("%d%d",&sm-
www.eeworm.com/read/391742/8382310
cpp 数的遍历.cpp
#include
//#include
#define INFINITY 32767
#define MAX_VEX 20 //最大顶点个数
#define QUEUE_SIZE (MAX_VEX+1) //队列长度
using namespace std;
bool *visited; //访问标志数组
//图的邻接矩阵存储