| 6 | 1/1 | 返回列表 |
| 查看: 2101 | 回復(fù): 5 | |||
zhz3011627木蟲(chóng) (小有名氣)
|
[求助]
相關(guān)性函數(shù)的C程序
|
| 求關(guān)于兩個(gè)不同時(shí)間序列的相關(guān)性函數(shù)的C語(yǔ)言程序。。。。 |
木蟲(chóng) (職業(yè)作家)
中國(guó)特色
|
#include //互相關(guān) void corre(float x[],int m,float y[],int n,float z[],int l) { int i,j,k; for(i=0; i z=0.0; k=i-(n-1); for(j=0; j } } void main() { //m,n,a1,a2,b1,b2,x[],y[]可自行修改 const int m=3;//length of x(n) const int n=3;//length of y(n) const int l=m+n-1;//length of r(n) const int a1=-1;//left border of x(n) const int a2=1;//right border of x(n) const int b1=0;//left border of y(n) const int b2=2;//right border of y(n) float x[m]={1,1,1};//x(n)={x(-1),x(0),x(1)} float y[n]={1,2,3};//y(n)={y(0),y(1),y(2)} float r[l]; int c1, c2, i; c1=a1-b2;//left border of r(n) c2=a2-b1;//right border of r(n) corre(x,m,y,n,r,l); printf("result:\n" ;for(i=0; i } |

木蟲(chóng) (小有名氣)
木蟲(chóng) (小有名氣)
木蟲(chóng) (職業(yè)作家)
中國(guó)特色

木蟲(chóng) (小有名氣)
| 6 | 1/1 | 返回列表 |
| 最具人氣熱帖推薦 [查看全部] | 作者 | 回/看 | 最后發(fā)表 | |
|---|---|---|---|---|
|
[考研] 274求調(diào)劑 +5 | 薛定諤的虎。 2026-04-01 | 5/250 |
|
|---|---|---|---|---|
|
[考研] 291求調(diào)劑 +20 | Y-cap 2026-03-29 | 25/1250 |
|
|
[考研] 材料科學(xué)與工程調(diào)劑 +16 | 深V宿舍吧 2026-03-30 | 17/850 |
|
|
[考研] 一志愿鄭大材料工程290求調(diào)劑 +18 | Youth_ 2026-03-30 | 18/900 |
|
|
[考研] 材料科學(xué)與工程339求調(diào)劑 +11 | hyz0119 2026-03-31 | 12/600 |
|
|
[考研] 349求調(diào)劑 +6 | 吃的不少 2026-04-01 | 6/300 |
|
|
[考研] 【求調(diào)劑】085601材料工程專碩 | 總分272 | +10 | 腳滑的守法公民 2026-03-27 | 10/500 |
|
|
[考研] 一志愿 南京航空航天大學(xué) ,080500材料科學(xué)與工程學(xué)碩 +7 | @taotao 2026-03-30 | 7/350 |
|
|
[考研] 283求調(diào)劑 +9 | A child 2026-03-28 | 9/450 |
|
|
[考研] 08工科,295,接受跨專業(yè)調(diào)劑 +6 | lmnlzy 2026-03-31 | 6/300 |
|
|
[考研] 0856材料化工調(diào)劑 總分330 +18 | zhubinhao 2026-03-27 | 18/900 |
|
|
[考研] 考研材料工程351分調(diào)劑 +5 | 整個(gè)好的 2026-03-31 | 5/250 |
|
|
[考研] 085900土木水利336分求調(diào)劑 +3 | Zhangjiangj 2026-03-31 | 5/250 |
|
|
[考研] 生物學(xué)308分求調(diào)劑(一志愿華東師大) +3 | 相信必會(huì)光芒萬(wàn)?/a> 2026-03-31 | 3/150 |
|
|
[考研] 303求調(diào)劑 +7 | DLkz1314. 2026-03-30 | 7/350 |
|
|
[考研] 求調(diào)劑 +10 | 張zz111 2026-03-27 | 11/550 |
|
|
[考研] 一志愿北京工業(yè)大學(xué),324分求調(diào)劑 +6 | 零八# 2026-03-28 | 6/300 |
|
|
[考研] 340求調(diào)劑 +6 | Amber00 2026-03-26 | 6/300 |
|
|
[考研] 279求調(diào)劑 +4 | 蝶舞輕繞 2026-03-29 | 4/200 |
|
|
[考研] 283求調(diào)劑 +3 | A child 2026-03-28 | 3/150 |
|