Fertig

Dependencies:   mbed

Fork of RT2_P3_students by RT2_P3_students

Revision:
6:2cc56521aa16
Parent:
3:769ce5f06d3e
Child:
7:72982ede2ff6
--- a/LinearCharacteristics.cpp	Mon Apr 09 09:26:58 2018 +0000
+++ b/LinearCharacteristics.cpp	Tue Apr 10 11:44:36 2018 +0000
@@ -2,23 +2,9 @@
 
 using namespace std;
 
-LinearCharacteristics::LinearCharacteristics(float g, float o){    // standard lin characteristics
-    this->gain = g;
-    this->offset = o;
-// ...
-}
-LinearCharacteristics::LinearCharacteristics(float x_min, float x_max, float y_min, float y_max){    // standard lin characteristics
-    this->gain = (y_max-y_min)/(x_max-x_min);
-    this->offset = x_max - y_max/this->gain;
-
-
+LinearCharacteristics::LinearCharacteristics(){    // standard lin characteristics
+    
 }
 
 LinearCharacteristics::~LinearCharacteristics() {}
 
-
-float LinearCharacteristics::eval(float x){
-    
-    return (gain * (x-offset));
-    
-    }
\ No newline at end of file