代码搜索结果
找到约 10,000 项符合
Q 的代码
q_norm.m
function norm_data=q_norm(data)
%对数据进行归一化
%输入数组不能大于二维
d_min=min(min(data));
d_max=max(max(data));
norm_data=(data-d_min)/(d_max-d_min);
q_topoplot.m
function handle = q_topoplot(varargin)
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%本函数功能为绘制脑电地形图
%要求输入参数至少为两个,第1个为绘图数据序列,第2个为导联位置矩阵
%导联位置矩阵要求为4列元胞矩阵,第1列为序号,第2,3列为极坐标的极角与极径,第
use_q.c
/* use_q.c -- driver testing the Queue interface */
/* compile with queue.c */
#include
#include "queue.h" /* defines Queue, Item */
int main(void)
{
q100.txt
100
75 -75 0 -80 -33 0 -54 9 0 0 0 91 0 62 2 -58 0 0 0 -80 38 90 0 0 0 97 36 -11 0 -88 97 -36 -50 0 0 -6 0 0 34
q10.txt
10
75 -75 0 -80 -33 0 -54 9 0 0
91 0 62 2 -58 0 0 0 -80 38
0 0 0 0 97 36 -11 0 -88 97
-1 3 0 -6 0 0 34 0
q50.txt
50
75 -75 0 -80 -33 0 -54 9 0 0 0 91 0 62 2 -58 0 0 0 -80 38 90 0 0 0 97 36 -11 0 -88 97 -36 -50 0 0 -6 0 0 34
q5.txt
5
-5 -12 0 8 0
0 9 4 -10 0
0 0 1 -6 0
0 0 0 12 -8
0 0 0 0 7
q12.txt
12
-24 9 -35 19 -22 31 26 -32 28 -13 -5 8
18 22 28 -2 -1 -26 -18 -5 22 -31 -7 28
-15 15 26 2 -13 -23 -15 15 -31 9 -4 -16
-9 16 0 15 27 -11 19 3 -10 29 8 35
10 12 -21 -30 -15 7 -19 22 7 35 34 16
-
q1.cpp
# include
# include
# define NPROCS 8
int main(argc,argv)
int argc;
char *argv[]; {
MPI_Status status;
MPI_Request request;
int rank, new_group1,new_group2,rank1,rank2,