An open API service indexing awesome lists of open source software.

https://github.com/thealgorithms/matlab-octave

This repository contains algorithms written in MATLAB/Octave. Developing algorithms in the MATLAB environment empowers you to explore and refine ideas, and enables you test and verify your algorithm.
https://github.com/thealgorithms/matlab-octave

algorithm algorithms counting-sort datastructures euler m-script m-scripts machine-learning machine-learning-algorithms matlab mit-license nearest-neighbour-algorithm octave octave-scripts project project-euler project-euler-solutions

Last synced: about 1 month ago
JSON representation

This repository contains algorithms written in MATLAB/Octave. Developing algorithms in the MATLAB environment empowers you to explore and refine ideas, and enables you test and verify your algorithm.

Awesome Lists containing this project

README

        

# MATLAB / Octave ![](https://img.shields.io/github/forks/TheAlgorithms/MATLAB-Octave?style=social) ![](https://img.shields.io/github/stars/TheAlgorithms/MATLAB-Octave?style=social) ![](https://img.shields.io/github/watchers/TheAlgorithms/MATLAB-Octave?style=social)

![](https://img.shields.io/github/repo-size/TheAlgorithms/MATLAB-Octave) ![](https://img.shields.io/github/downloads/TheAlgorithms/MATLAB-Octave/total) ![](https://img.shields.io/github/license/TheAlgorithms/MATLAB-Octave?color=red)

![](https://img.shields.io/github/issues/TheAlgorithms/MATLAB-Octave?color=green) ![](https://img.shields.io/github/issues-pr/TheAlgorithms/MATLAB-Octave?color=green) ![](https://img.shields.io/github/last-commit/TheAlgorithms/MATLAB-Octave) ![](https://img.shields.io/github/contributors/TheAlgorithms/MATLAB-Octave)

These repository is a collection of useful algorithms and data structures built in MATLAB/Octave. In addition you will find solutions from project euler problem sets. The code in this repository is cross-portabel for MATLAB and for Octave.

### What is Octave?

[Octave](https://www.gnu.org/software/octave/) is a free high-level interpreter language that is equivalent to the textuelle programming language MATLAB.

## Clone git repository

```sh
$ git clone "https://github.com/TheAlgorithms/MATLAB-Octave.git"
```

You can run and edit the algorithms or contribute to them using [Gitpod.io](https://www.gitpod.io/), a free online development environment, with a single click.

[![Open in Gitpod](https://gitpod.io/button/open-in-gitpod.svg)](http://gitpod.io/#https://github.com/TheAlgorithms/MATLAB-Octave)

### Overview about this repository

---

* project-euler
* [Problem 1](https://github.com/TheAlgorithms/MATLAB-Octave/tree/master/project-euler/Problem1)
* [Problem 2](https://github.com/TheAlgorithms/MATLAB-Octave/tree/master/project-euler/Problem2)
* [Problem 3](https://github.com/TheAlgorithms/MATLAB-Octave/tree/master/project-euler/Problem3)
* [Problem 4](https://github.com/TheAlgorithms/MATLAB-Octave/tree/master/project-euler/Problem4)

* algorithms
* [Sieve_of_Eratosthenes](https://github.com/TheAlgorithms/MATLAB-Octave/tree/master/algorithms/Sieve_of_Eratosthenes)
* crypto
* [sdbm-hash](https://github.com/TheAlgorithms/MATLAB-Octave/tree/master/algorithms/crypto/sdbm-hash)
* searching
* [Binary Search](https://github.com/TheAlgorithms/MATLAB-Octave/blob/master/algorithms/Searching/binary_search.m)
* [Linear Search](https://github.com/TheAlgorithms/MATLAB-Octave/blob/master/algorithms/Searching/linear_search.m)
* Strings
* [Palindrome](https://github.com/TheAlgorithms/MATLAB-Octave/blob/master/algorithms/Strings/isPalindrome.m)
* maths
* [to_polar](https://github.com/TheAlgorithms/MATLAB-Octave/blob/master/algorithms/maths/to_polar.m)
* [Fibonacci Sequence](https://github.com/TheAlgorithms/MATLAB-Octave/blob/master/algorithms/maths/fibonacci_sequence.m)
* [Factorial](https://github.com/TheAlgorithms/MATLAB-Octave/blob/master/algorithms/maths/find_factorial.m)
* [Highest Common Factor](https://github.com/TheAlgorithms/MATLAB-Octave/blob/master/algorithms/maths/highest_common_factor.m)
* [Jaccard Similarity](https://github.com/TheAlgorithms/MATLAB-Octave/blob/master/algorithms/maths/jaccard_similarity.m)
* [Prime Check](https://github.com/TheAlgorithms/MATLAB-Octave/blob/master/algorithms/maths/prime_check.m)
* [Prime Factorial](https://github.com/TheAlgorithms/MATLAB-Octave/blob/master/algorithms/maths/prime_factorial.m)
* arithmetic_analysis
* [bisection](https://github.com/TheAlgorithms/MATLAB-Octave/blob/master/algorithms/arithmetic_analysis/bisection.m)
* [newton](https://github.com/TheAlgorithms/MATLAB-Octave/blob/master/algorithms/arithmetic_analysis/newton.m)
* [secant](https://github.com/TheAlgorithms/MATLAB-Octave/blob/master/algorithms/arithmetic_analysis/secant.m)
* [false position](https://github.com/TheAlgorithms/MATLAB-Octave/blob/master/algorithms/arithmetic_analysis/false_position.m)
* other
* [tic_tac_toe](https://github.com/TheAlgorithms/MATLAB-Octave/blob/master/algorithms/other/tic_tac_toe.m)
* sorting
* [Bubble Sort](https://github.com/TheAlgorithms/MATLAB-Octave/blob/master/algorithms/sorting/bubble_sort.m)
* [Counting Sort](https://github.com/TheAlgorithms/MATLAB-Octave/blob/master/algorithms/sorting/counting_sort.m)
* [Insertion Sort](https://github.com/TheAlgorithms/MATLAB-Octave/blob/master/algorithms/sorting/insertion_sort.m)
* [Merge Sort](https://github.com/TheAlgorithms/MATLAB-Octave/blob/master/algorithms/sorting/merge_sort.m)

* machine-learning
* nearest neighbor
* [brightness (recognizes the brightness of a color)](https://github.com/TheAlgorithms/MATLAB-Octave/blob/master/algorithms/machine_learning/Nearest-Neighbor/brightness.m)
* [k-means clustering](https://github.com/TheAlgorithms/MATLAB-Octave/tree/master/algorithms/machine_learning/kmeans)
* [Gradient-Descent](https://github.com/TheAlgorithms/MATLAB-Octave/tree/master/algorithms/machine_learning/Gradient-Descent)
* [Logistic-Regression](https://github.com/TheAlgorithms/MATLAB-Octave/tree/master/algorithms/machine_learning/Logistic-Regression)
* [Linear-Regression](https://github.com/TheAlgorithms/MATLAB-Octave/tree/master/algorithms/machine_learning/Linear-Regression)
* [Activation Functions](https://github.com/TheAlgorithms/MATLAB-Octave/tree/master/algorithms/machine_learning/Activation%20Functions)

* image-processing
* [Blob-detection](https://github.com/TheAlgorithms/MATLAB-Octave/tree/master/image-processing/Blob-detection-using-Matlab)

---

### Contributing

You can like contribute to this repository. You simply orient on the directory structure.

Please read [CONTRIBUTING.md](CONTRIBUTING.md) for information on how to contribute.

## License

Licensed under the [MIT License](LICENSE)