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

https://github.com/elgar328/matlab-code-examples


https://github.com/elgar328/matlab-code-examples

matlab matlab-code matlab-scripts personal-code

Last synced: about 2 months ago
JSON representation

Awesome Lists containing this project

README

          

# matlab-code-examples

### [Nyan cat on MATLAB](https://github.com/elgar328/matlab-code-examples/tree/main/nyancat)

- Run this script.
- This single script file contains images and sounds.
- You can stop Nyan by closing the figure.
- Enjoy nyan cat to your heart's content.

[Recorded video](https://youtu.be/wINua1u4yMs=0s)

nyancat_on_matlab

### [Sudoku](https://github.com/elgar328/matlab-code-examples/tree/main/sudoku)

Sudoku puzzles are treated as an [Exact Cover Problem](https://en.wikipedia.org/wiki/Exact_cover),
and [Knuth's Algorithm X](https://en.wikipedia.org/wiki/Knuth%27s_Algorithm_X) is used to solve it.

- Sudoku solver

- Solve 1465 hardest sudokus

- Sudoku generator

### [cos(12000!)](https://github.com/elgar328/matlab-code-examples/tree/main/cos%20of%2012000%20factorial)

A rudimentary script to evaluate cos(12000!).

### [ProgressBar](https://github.com/elgar328/matlab-code-examples/tree/main/tools/ProgressBar)

Handy progress bar that can be used in GUI or text interface.

- Faster than waitbar (MATLAB builtin)
- GUI interface
- Figure automatically closes when the task is complete
- CLI interface
- Monospaced fonts are recommended for the CLI interface
- Parfor compatibility
- It uses parallel.pool.DataQueue
- No file I/O, no java class, no undocumented matlab for parallel progress tracking
- Support for legacy MATLAB releases
- Standard version: MATLAB 2020b ~ latest
- Legacy-compatible version: MATLAB 2017a ~ latest










### [loopControl](https://github.com/elgar328/matlab-code-examples/tree/main/tools/loopControl)

Creates a dialog box that allows you to pause or break from an infinite while loop.