From ea01e939e832332b9db90298afa8dde116a05e6b Mon Sep 17 00:00:00 2001 From: LinlyBoi Date: Mon, 8 May 2023 18:25:56 +0300 Subject: [PATCH] refactor so it looks clean --- My balls/closed_poopers.m => closed_estimators.m | 0 curve-fittingig.m => curve-fitting.m | 0 curvefittingig.m | 12 ------------ My balls/divided_diff.m => divided_diff.m | 0 My balls/gauss_seidel.m => gauss_seidel.m | 0 My balls/lagranjames.m => lagranjames.m | 0 My balls/open_poopers.m => open_poopers.m | 0 Help.m => symbolic.m | 0 8 files changed, 12 deletions(-) rename My balls/closed_poopers.m => closed_estimators.m (100%) rename curve-fittingig.m => curve-fitting.m (100%) delete mode 100644 curvefittingig.m rename My balls/divided_diff.m => divided_diff.m (100%) rename My balls/gauss_seidel.m => gauss_seidel.m (100%) rename My balls/lagranjames.m => lagranjames.m (100%) rename My balls/open_poopers.m => open_poopers.m (100%) rename Help.m => symbolic.m (100%) diff --git a/My balls/closed_poopers.m b/closed_estimators.m similarity index 100% rename from My balls/closed_poopers.m rename to closed_estimators.m diff --git a/curve-fittingig.m b/curve-fitting.m similarity index 100% rename from curve-fittingig.m rename to curve-fitting.m diff --git a/curvefittingig.m b/curvefittingig.m deleted file mode 100644 index 3622cd5..0000000 --- a/curvefittingig.m +++ /dev/null @@ -1,12 +0,0 @@ -clear, clc -xf = [0:0.05:10]; -yf = sin (2*pi*xf/5); -xp = [0:10]; -yp = sin (2*pi*xp/5); -lin = interp1 (xp, yp, xf); -near = interp1 (xp, yp, xf, "nearest"); -pch = interp1 (xp, yp, xf, "pchip"); -spl = interp1 (xp, yp, xf, "spline"); -plot (xf,yf,"r", xf,near,"g", xf,lin,"b", xf,pch,"c", xf,spl,"m", - xp,yp,"r*"); -legend ("original", "nearest", "linear", "pchip", "spline"); diff --git a/My balls/divided_diff.m b/divided_diff.m similarity index 100% rename from My balls/divided_diff.m rename to divided_diff.m diff --git a/My balls/gauss_seidel.m b/gauss_seidel.m similarity index 100% rename from My balls/gauss_seidel.m rename to gauss_seidel.m diff --git a/My balls/lagranjames.m b/lagranjames.m similarity index 100% rename from My balls/lagranjames.m rename to lagranjames.m diff --git a/My balls/open_poopers.m b/open_poopers.m similarity index 100% rename from My balls/open_poopers.m rename to open_poopers.m diff --git a/Help.m b/symbolic.m similarity index 100% rename from Help.m rename to symbolic.m