代码搜索:协方差矩阵
找到约 10,000 项符合「协方差矩阵」的源代码
代码结果 10,000
www.eeworm.com/read/156528/11794908
asv nomax.asv
function [ys,W] = NoMax(x)
%最大信噪比盲源分离算法
%输入:混合信号x
%输出:分离信号ys,分离矩阵W
%preprocess
%tic;
x=baihua(x);
%%%%%%%moving average coefficient%%%%%%%%%%%%
p=80;
a=ones(1,p)/p;
x=x';
S=filter(a,1,x);
www.eeworm.com/read/345167/11834457
cpp le_totalchoicegaussjordan.cpp
//LE_TotalChoiceGaussJordan.cpp 全选主元高斯-约当消去法
#include //输入输出流头文件
#include "LinearEquation.h" //线性方程(组)求解头文件
void main()
{
int i;
double a[4][4] = //实系数矩阵
{
{1.0,
www.eeworm.com/read/258355/11868592
m ygetcolorgrade.m
function Out=YGetColorGrade(IMatrix,InMax,InMin,GradeNumbers)
%By Yang (Modified by Li)
%IMatrix 需要为每个元素给颜色等及的输入矩阵
%InMax,InMin,等级划分时指定的最大,最小值
%GradeNumbers 划分的等级数
[row,col]=size(IMatrix);
InNum
www.eeworm.com/read/257588/11920113
m jacobi.m
function [y,n]=jacobi(A,b,x0,eps)
if nargin==3
eps=1.0e-6;
elseif nargin
www.eeworm.com/read/257588/11920132
m gauseidel.m
function [y,n]=gauseidel(A,b,x0,eps)
if nargin==3
eps=1.0e-6;
elseif nargin
www.eeworm.com/read/257279/11935357
h vfunc.h
#ifndef VFUNC_H
#define VFUNC_H
#include
#include "matrix.h"
class valgo // 矩阵算法类
{
private:
DOUBLE yfactor; // 乘因子,初始化为1
DOUBLE xfactor; // x轴放大因子,初始化为1
DOUBLE addconst;
www.eeworm.com/read/257279/11935410
cpp cmatrix.cpp
#include "stdio.h"
#include "string.h"
#include "complex.h"
#include "cmatrix.h"
#include "fstream.h"
// 缺省的构造函数,产生0行0列空复矩阵
cmatrix::cmatrix(cbuffer * b): rownum(0),colnum(0),
isneg(0),istra
www.eeworm.com/read/342654/12007398
m randcs.m
%%%产生一个矩阵
function randmtx=randCS(row,col,seed)
A=4;
Xb=2.5;
randmtx(1,1)=seed;
for i=2:row*col
randmtx(1,i)=A*sin(randmtx(1,i-1)-Xb)*sin(randmtx(1,i-1)-Xb);
end
a=randmtx;
a=reshap
www.eeworm.com/read/255669/12065884
m uninterleaver.m
function source_out=uninterleaver(source_in)
%rem是求余数
%按列写,按行读
global INTERLEAVERLENGTH
len=length(source_in);
cols=fix((len-1)/INTERLEAVERLENGTH) + 1; %一帧转成列矩阵后的列数
theLastRowOfLastCol= rem(
www.eeworm.com/read/341100/12108814
cpp l5_1.cpp
//稀疏矩阵的转置
#include
const int maxsize=100;
struct node //定义一个三元组
{
int i , j; //非零元行、列号
int v; //非零元值
};
struct sparmatrix