Skip to content

elgar328/matlab-code-examples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

77 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

matlab-code-examples

  • 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

nyancat_on_matlab

Sudoku puzzles are treated as an Exact Cover Problem, and Knuth's Algorithm X is used to solve it.

  • Sudoku solver

  • Solve 1465 hardest sudokus

  • Sudoku generator

A rudimentary script to evaluate cos(12000!).

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





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


Releases

No releases published

Packages

 
 
 

Languages