kopia lustrzana https://github.com/r-burg/rbfilter
Add files via upload
rodzic
860d74e04a
commit
8a374192a6
|
@ -1,3 +1,12 @@
|
||||||
|
/******************************************************************************
|
||||||
|
|
||||||
|
Calcs.cpp
|
||||||
|
|
||||||
|
Copyright (c) Roger Burghall 2014..2017
|
||||||
|
|
||||||
|
******************************************************************************/
|
||||||
|
|
||||||
|
|
||||||
/** \file
|
/** \file
|
||||||
'Calcs.cpp' is one of the files intended to hold the functions for
|
'Calcs.cpp' is one of the files intended to hold the functions for
|
||||||
calculation purposes.
|
calculation purposes.
|
||||||
|
|
9
Calcs.h
9
Calcs.h
|
@ -1,3 +1,12 @@
|
||||||
|
/******************************************************************************
|
||||||
|
|
||||||
|
Calcs.h
|
||||||
|
|
||||||
|
Copyright (c) Roger Burghall 2014..2017
|
||||||
|
|
||||||
|
******************************************************************************/
|
||||||
|
|
||||||
|
|
||||||
#ifndef CALCSH
|
#ifndef CALCSH
|
||||||
#define CALCSH
|
#define CALCSH
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,12 @@
|
||||||
|
/******************************************************************************
|
||||||
|
|
||||||
|
Discrete.cpp
|
||||||
|
|
||||||
|
Copyright (c) Roger Burghall 2014..2017
|
||||||
|
|
||||||
|
******************************************************************************/
|
||||||
|
|
||||||
|
|
||||||
/** \file
|
/** \file
|
||||||
'Discrete.cpp' holds the code for implementing discrete, i.e. z-transform, filters.
|
'Discrete.cpp' holds the code for implementing discrete, i.e. z-transform, filters.
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -1,3 +1,12 @@
|
||||||
|
/******************************************************************************
|
||||||
|
|
||||||
|
Discrete.h
|
||||||
|
|
||||||
|
Copyright (c) Roger Burghall 2014..2017
|
||||||
|
|
||||||
|
******************************************************************************/
|
||||||
|
|
||||||
|
|
||||||
#ifndef DISCRETE_H
|
#ifndef DISCRETE_H
|
||||||
#define DISCRETE_H
|
#define DISCRETE_H
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,12 @@
|
||||||
|
/******************************************************************************
|
||||||
|
|
||||||
|
Drawing.h
|
||||||
|
|
||||||
|
Copyright (c) Roger Burghall 2014..2017
|
||||||
|
|
||||||
|
******************************************************************************/
|
||||||
|
|
||||||
|
|
||||||
#ifndef DRAWINGH
|
#ifndef DRAWINGH
|
||||||
#define DRAWINGH
|
#define DRAWINGH
|
||||||
|
|
||||||
|
|
9
Enums.h
9
Enums.h
|
@ -1,3 +1,12 @@
|
||||||
|
/******************************************************************************
|
||||||
|
|
||||||
|
Enums.h
|
||||||
|
|
||||||
|
Copyright (c) Roger Burghall 2014..2017
|
||||||
|
|
||||||
|
******************************************************************************/
|
||||||
|
|
||||||
|
|
||||||
#ifndef ENUMSH
|
#ifndef ENUMSH
|
||||||
#define ENUMSH
|
#define ENUMSH
|
||||||
|
|
||||||
|
|
|
@ -4,8 +4,6 @@ libgnomeui-2.0
|
||||||
gdk-pixbuf-xlib-2.0
|
gdk-pixbuf-xlib-2.0
|
||||||
gtk+-2.0
|
gtk+-2.0
|
||||||
gdk-2.0
|
gdk-2.0
|
||||||
libgnome-2.0
|
|
||||||
libgnomeui-2.0
|
|
||||||
gdk-pixbuf-xlib-2.0
|
|
||||||
|
|
||||||
|
|
||||||
|
|
15
Rauch.cpp
15
Rauch.cpp
|
@ -1,3 +1,12 @@
|
||||||
|
/******************************************************************************
|
||||||
|
|
||||||
|
Rauch.cpp
|
||||||
|
|
||||||
|
Copyright (c) Roger Burghall 2014..2017
|
||||||
|
|
||||||
|
******************************************************************************/
|
||||||
|
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
|
@ -9,7 +18,7 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/*! \file Rauch.cpp
|
/*! \file Rauch.cpp
|
||||||
This program calculates the T and q values for a Rauch stage from the component values.
|
This program calculates the T and q values for a Rauch stage from the component values and vice-versa.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
using namespace std;
|
using namespace std;
|
||||||
|
@ -156,6 +165,10 @@ void stage::synthesise_R_band(void)
|
||||||
double a, b, c;
|
double a, b, c;
|
||||||
double C;
|
double C;
|
||||||
double R;
|
double R;
|
||||||
|
|
||||||
|
cout << "There may be a problem in this function. Try another method of realization.\n";
|
||||||
|
return;
|
||||||
|
|
||||||
#if SHOW_CALC
|
#if SHOW_CALC
|
||||||
cout << "\nsynthesise_band\n";
|
cout << "\nsynthesise_band\n";
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -1,3 +1,12 @@
|
||||||
|
/******************************************************************************
|
||||||
|
|
||||||
|
Sallen_and_Key.cpp
|
||||||
|
|
||||||
|
Copyright (c) Roger Burghall 2014..2017
|
||||||
|
|
||||||
|
******************************************************************************/
|
||||||
|
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
|
|
Plik binarny nie jest wyświetlany.
|
@ -1,3 +1,12 @@
|
||||||
|
/******************************************************************************
|
||||||
|
|
||||||
|
Bilinear.cpp
|
||||||
|
|
||||||
|
Copyright (c) Roger Burghall 2014..2017
|
||||||
|
|
||||||
|
******************************************************************************/
|
||||||
|
|
||||||
|
|
||||||
#include "math.h"
|
#include "math.h"
|
||||||
#include <complex.h>
|
#include <complex.h>
|
||||||
#include "Calcs.h"
|
#include "Calcs.h"
|
||||||
|
|
9
filter.h
9
filter.h
|
@ -1,3 +1,12 @@
|
||||||
|
/******************************************************************************
|
||||||
|
|
||||||
|
filter.h
|
||||||
|
|
||||||
|
Copyright (c) Roger Burghall 2014..2017
|
||||||
|
|
||||||
|
******************************************************************************/
|
||||||
|
|
||||||
|
|
||||||
#ifndef FILTER_H
|
#ifndef FILTER_H
|
||||||
#define FILTER_H
|
#define FILTER_H
|
||||||
|
|
||||||
|
|
9
main.cpp
9
main.cpp
|
@ -1,3 +1,12 @@
|
||||||
|
/******************************************************************************
|
||||||
|
|
||||||
|
main.cpp
|
||||||
|
|
||||||
|
Copyright (c) Roger Burghall 2014..2017
|
||||||
|
|
||||||
|
******************************************************************************/
|
||||||
|
|
||||||
|
|
||||||
//*********************************************************
|
//*********************************************************
|
||||||
|
|
||||||
#include "math.h"
|
#include "math.h"
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
/*! \mainpage FilterCalcs
|
/*! \mainpage FilterCalcs
|
||||||
(c) 1971 .. 2016 Roger Burghall
|
|
||||||
|
Copyright (c) 1971 .. 2016 Roger Burghall
|
||||||
|
|
||||||
The original of this code was written in Fortran for the Digital
|
The original of this code was written in Fortran for the Digital
|
||||||
Equipment Corporation PDP-12, beginning in the early 1970s, and then
|
Equipment Corporation PDP-12, beginning in the early 1970s, and then
|
||||||
ported to the BBC Model B, and extended to provide more of the
|
ported to the BBC Model B, and extended to provide more of the
|
||||||
|
|
Ładowanie…
Reference in New Issue