Xu ZHANG
/
DEBUG_10K
to junhao
cal.h
- Committer:
- xuzhang
- Date:
- 2018-03-08
- Revision:
- 0:1b13f03ce7eb
File content as of revision 0:1b13f03ce7eb:
#ifndef M_PI #define M_PI 3.14159265358979323846 #endif #ifndef CAL_H_ #define CAL_H_ double cal_z(double Vin,double Vo,double Rs); int check_angle(double angle); double pwToAngle(int pw);//calcualte the angle of Zx+Ro void cal_Zx ( double z, double a,double f,int type, //input double Ro,//constant double *ZxMag, double *Cx, double *Rx//output );//calculate magnitude of Zx+Ro #endif