代码搜索:协方差矩阵
找到约 10,000 项符合「协方差矩阵」的源代码
代码结果 10,000
www.eeworm.com/read/341787/12064886
c fe.c
/*求模糊等价矩阵的C语言程序*/
#include "stdio.h"
#include "conio.h"
int M,N;
/*分配内存空间函数*/
double * *mat_alloc(int nrows,int ncols)
{
double * *mat;
int i;
mat = (double * *)malloc(sizeof(dou
www.eeworm.com/read/255669/12065881
m interleaver.m
function source_out=interleaver(source_in)
%rem是求余数
%按列写,按行读
global INTERLEAVERLENGTH
len=length(source_in);
cols=fix((len -1)/INTERLEAVERLENGTH) + 1; %一帧转成列矩阵后的列数
theLastRowOfLastCol=
www.eeworm.com/read/341100/12108811
cpp l5_4.cpp
//稀疏矩阵的十字链表相加
#include
struct linknode
{ int i, j;
linknode *cptr, *rptr;
union
{ int v; //*表结点使用V域,表示非零元值*/
linknode *next; //表头结点使用next
www.eeworm.com/read/341100/12108816
cpp l5_3.cpp
//建立稀疏矩阵的十字链表
#include
struct linknode
{ int i, j;
linknode *cptr, *rptr;
union
{ int v; //表结点使用V域,表示非零元值
linknode *next; //表头结点使用next域
www.eeworm.com/read/337307/12377325
m inv.m
%求逆矩阵
%用法 B=inv(A) 其中A为数值或符号方阵,B返回A的逆
%例如
% inv([1 2;3 4]) %数值
% syms a b c d;inv([[a,b;c,d]) %符号
%
%INV Matrix inverse.
% INV(X) is the inverse of the square
www.eeworm.com/read/337307/12377617
m rand.m
%R=rand(m,n) 生成(0,1)上均匀分布的m行n列随机矩阵
%RAND Uniformly distributed random numbers.
% RAND(N) is an N-by-N matrix with random entries, chosen from
% a uniform distribution on the interval (0.0,1.0
www.eeworm.com/read/337166/12386735
m exm0332_1.m
% 利用M文件创建和保存矩阵
% MyMatrix.m
AM=[101,102,103,104,105,106,107,108,109;...
201,202,203,204,205,206,207,208,209;...
301,302,303,304,305,306,307,308,309];
www.eeworm.com/read/232704/14184880
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/231040/14260001
m 例题4-1.m
%例题4-1
n=4; %数据点数
p=9; %波长数
x=[20 40 60 80]; %X矩阵(浓度)
y=[0.022 0.051 0.088 0.123
0.029 0.071 0.113 0.162
0.046 0.102 0.168 0.224
0.069 0.148 0.231 0.316
0.096 0.20
www.eeworm.com/read/230524/14282641
m fc01.m
function [e,s]=fc01(a,flag)
if nargin==1 %得到用户提供的输入变量
flag=0;
end
b=a;
if flag==0
cmax=max(max(b)'); %求矩阵B的最大值
b=cmax-b;
end
m=size(b);