📄 computefiloop.c
字号:
#include "mex.h"#include "matrix.h"void mexFunction(int nlhs,mxArray *plhs[],int nrhs,const mxArray *prhs[]){ double *H,*h; int i,j; h=mxGetPr(prhs[0]); plhs[0]=mxCreateDoubleMatrix(40,40,mxREAL); H=mxGetPr(plhs[0]); for (j=0;j<40;j++) { for (i=j;i<40;i++) { H[i+j*40]=h[i-j]; } } }
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -