Back to project page APSK.
The source code is released under:
GNU General Public License
If you think the Android project APSK listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
/* * This file is part of znudigi.//ww w .j av a2 s. c om * Released under GNU GENERAL PUBLIC LICENSE Version 2 * See file COPYING. * Copyright (C) 2007-2008 Leigh L. Klotz, Jr. <Leigh@WA5ZNU.org> */ package org.wa5znu.znuradio.dsp; abstract public class FilterDesign { int order; int taps; double a[]; public int getOrder() { return order; } public int getTaps() { return taps; } public double[] getA() { return a; } public void setOrder(int order) { this.order=order; taps = (order % 2 == 0) ? order + 1 : order; if(a == null || a.length != taps) { a = new double[taps]; } } }