标题:求教报错 expression must have pointer-to-object type
取消只看楼主
maychard
Rank: 1
等 级:新手上路
帖 子:1
专家分:0
注 册:2014-9-27
 问题点数:0 回复次数:0 
求教报错 expression must have pointer-to-object type
在网上学习的filter的写法
    #include<stdio.h>
   #include<math.h>

void filter(int xlen,int nfilt, int* a, int* b,double* zi)
{
    int i,j,x,y;
    for(i=0;i<xlen;i++)
    {
        for(j=0;i>=j&&j<nfilt;j++)
           {y[i]+=(b[j]*x[i-j]-a[j]*y[i-j]);}    报错expression must have pointer-to-object type
        if(zi&&i<nfilt-1)
                {y[i] += zi[i];}
    }
    a[0]=1.0;
}
搜索更多相关主题的帖子: expression include double filter 网上 
2014-09-27 14:28



参与讨论请移步原网站贴子:https://bbs.bccn.net/thread-436656-1-1.html




关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 1.442997 second(s), 8 queries.
Copyright©2004-2025, BCCN.NET, All Rights Reserved