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
- Host: GitHub
- URL: https://github.com/elgar328/matlab-code-examples
- Owner: elgar328
- License: mit
- Created: 2022-05-05T13:54:44.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2024-07-10T00:19:16.000Z (over 1 year ago)
- Last Synced: 2024-07-10T03:53:31.496Z (over 1 year ago)
- Topics: matlab, matlab-code, matlab-scripts, personal-code
- Language: MATLAB
- Homepage:
- Size: 813 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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)

### [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.