Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed
Diff: GPA.cpp
- Revision:
- 26:017198f20b5c
- Parent:
- 25:13af44aeabbd
- Child:
- 28:fc53b2d62a1e
--- a/GPA.cpp Mon Oct 15 17:35:11 2018 +0000
+++ b/GPA.cpp Mon Oct 15 17:46:04 2018 +0000
@@ -123,7 +123,7 @@
pi2 = 2.0*pi;
pi2Ts = pi2*(double)Ts;
piDiv2 = pi/2.0;
-
+
sU = (double*)malloc(3*sizeof(double));
sY = (double*)malloc(3*sizeof(double));
reset();
@@ -175,8 +175,6 @@
pi2 = 2.0*pi;
pi2Ts = pi2*(double)Ts;
piDiv2 = pi/2.0;
-
- scaleH = 2.0;
sU = (double*)malloc(3*sizeof(double));
sY = (double*)malloc(3*sizeof(double));
@@ -194,6 +192,7 @@
ii = 1; // iterating through desired frequency points
jj = 1; // iterating through measurement points w.r.t. reachable frequency
scaleG = 0.0;
+ scaleH = 2.0;
wk = 0.0;
cr = 0.0;
ci = 0.0;