diff options
| -rw-r--r-- | Functions/README.md | 24 | ||||
| -rw-r--r-- | README.md | 14 |
2 files changed, 10 insertions, 28 deletions
diff --git a/Functions/README.md b/Functions/README.md index 2c0bc75..91eebff 100644 --- a/Functions/README.md +++ b/Functions/README.md @@ -1,11 +1,11 @@ # Functions This directory contains the functions written throught the course. -- [days.m](#days.m) -- [falsePositive.m](falsePositive.m) -- [heun.m](heun.m) -- [luFactor.m](luFactor.m) -- [simpson.m](simpson.m) -- [spacialMatrix.m](spacialMatrix.m) +- [days.m](days.m) - computes days elapsed in a year. +- [falsePositive.m](falsePositive.m) - numberical root finding function. +- [heun.m](heun.m) - Heuns method for solving ODE's. +- [luFactor.m](luFactor.m) - LU Decomposition. +- [simpson.m](simpson.m) - numerical integration technique. +- [spacialMatrix.m](spacialMatrix.m) - function to make special matrix with a specific set of criteria. --- @@ -44,9 +44,6 @@ Synopsis: `[root, fx, ea, iter] = falsePosition(func, xl, xu, es, maxit, varargi - `ea` - approximated relative error (%). - `iter` - number of iterations performed. -**Notes:** -Known issue: the output of `iter` needs fixing. The output is incorrect. - --- ## [heun.m](heun.m) @@ -113,16 +110,11 @@ Function returns a special matrix A with the following criteria: Synopsis: `[root, fx, ea, iter] = falsePosition(func, xl, xu, es, maxit, varargin)`. ### Input -- `func` - the function being evaluated. -- `xl` - lower bound guess. -- `xu` - upper bound guess. -- `es` - desired relative error (default 0.0001%) -- `maxit` - maximum number of iterations (default 200) -- `varargin` - any additional parameters used by the function +- `input` - any additional parameters used by the function ### Output - `A` - special matrix with the appropriate rules **Notes:** -This function has not much of a practical application, rather a very good exercise for beginners to get started with the basics of matrix manipulation and user-defined functions. +*Synopsis* and *input* need to be updated. This function has not much of a practical application, rather a very good exercise for beginners to get started with the basics of matrix manipulation and user-defined functions. @@ -2,16 +2,6 @@ Algorithms I created in MECH-105 (2021-Summer-Term). Consisting of MATLAB scripts and functions ## Functions: -* [specialMatrix.m](/Functions#specialMatrix.m) - function to make special matrix with a specific set of criteria -* [falsePosition.m](/Functions#falsePosition.m) - numberical root finding function -* [luFactor.m](/Functions#luFactor.m) - LU Decomposition -* [heun.m](/Functions#heun.m) - Heuns method for solving ODE's -* [simpson.m](/Functions#simpson.m) - numerical integration technique -* [days.m](/Functions#days.m) - computes days elapsed in a year - +This folder contains all the functions that needed to be written for the course. Most of these are numerical methods of solving calculus problems. ## Scripts: -* hw2.m -* hw3.m -* hw11.m - -Note: Detailed information on functions and scripts in their folders. +This directory consists of scripts to solve specific homework problems. |
