This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Vi(t) = RC*Vo(t)' + Vo(t) | |
*/ | |
#include<stdio.h> | |
#include<math.h> | |
#define GAIN_P 1.0 //比例ゲイン | |
#define GAIN_I 1.0 //積分ゲイン |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Vi(t) = RC*Vo(t)' + Vo(t) | |
*/ | |
#include<stdio.h> | |
#include<stdlib.h> | |
#define GAIN_P 1.0 //比例ゲイン | |
#define R 1.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Vi(t) = RC*Vo(t)' + Vo(t) | |
*/ | |
#include<stdio.h> | |
#include<stdlib.h> | |
#define R 1.0 | |
#define C 1.0 | |
#define INT_TIME 0.1 |