From 4fbe70cf817d2e31cbae5aae264d0ef1a3821afc Mon Sep 17 00:00:00 2001 From: blendoit Date: Mon, 30 Sep 2019 18:47:15 -0700 Subject: Delete MATLAB scripts --- wing_scripts/get_ds.m | 20 -------------------- 1 file changed, 20 deletions(-) delete mode 100644 wing_scripts/get_ds.m (limited to 'wing_scripts/get_ds.m') diff --git a/wing_scripts/get_ds.m b/wing_scripts/get_ds.m deleted file mode 100644 index 2f0eb9d..0000000 --- a/wing_scripts/get_ds.m +++ /dev/null @@ -1,20 +0,0 @@ -function ds = get_ds(xi,xf,u) - -dist = 0; -numSteps = 10; -dx = (xf-xi)/numSteps; -z0 = get_z(xi,u); -x0 = xi; -for i=1:10 - tempX = x0+dx; - if tempX > 0 - tempZ = get_z(tempX,u); - else - tempZ = 0; - end - dist = dist + (dx^2+(tempZ-z0)^2)^.5; - z0 = tempZ; - x0 = tempX; -end - -ds =dist; \ No newline at end of file -- cgit v1.2.3