{"id":44051600,"url":"https://github.com/elgar328/matlab-code-examples","last_synced_at":"2026-02-07T23:16:02.061Z","repository":{"id":63927225,"uuid":"488992945","full_name":"elgar328/matlab-code-examples","owner":"elgar328","description":null,"archived":false,"fork":false,"pushed_at":"2024-07-10T00:19:16.000Z","size":832,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-07-10T03:53:31.496Z","etag":null,"topics":["matlab","matlab-code","matlab-scripts","personal-code"],"latest_commit_sha":null,"homepage":"","language":"MATLAB","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/elgar328.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-05-05T13:54:44.000Z","updated_at":"2024-07-10T00:19:19.000Z","dependencies_parsed_at":"2024-05-03T14:43:48.511Z","dependency_job_id":"1bdebe70-a256-47b6-a8fb-70363d20c6e3","html_url":"https://github.com/elgar328/matlab-code-examples","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/elgar328/matlab-code-examples","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elgar328%2Fmatlab-code-examples","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elgar328%2Fmatlab-code-examples/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elgar328%2Fmatlab-code-examples/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elgar328%2Fmatlab-code-examples/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/elgar328","download_url":"https://codeload.github.com/elgar328/matlab-code-examples/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elgar328%2Fmatlab-code-examples/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29212104,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-07T23:14:30.912Z","status":"ssl_error","status_checked_at":"2026-02-07T23:14:17.253Z","response_time":63,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["matlab","matlab-code","matlab-scripts","personal-code"],"created_at":"2026-02-07T23:16:01.388Z","updated_at":"2026-02-07T23:16:02.053Z","avatar_url":"https://github.com/elgar328.png","language":"MATLAB","readme":"# matlab-code-examples\n\n### [Nyan cat on MATLAB](https://github.com/elgar328/matlab-code-examples/tree/main/nyancat)\n\n- Run this script.\n- This single script file contains images and sounds.\n- You can stop Nyan by closing the figure.\n- Enjoy nyan cat to your heart's content.\n\n[Recorded video](https://youtu.be/wINua1u4yMs=0s)\n\n\u003cimg width=\"650\" alt=\"nyancat_on_matlab\" src=\"https://user-images.githubusercontent.com/93251045/227739427-098ddb81-5fb6-498e-aa72-063b7ba9093a.png\"\u003e\n\n### [Sudoku](https://github.com/elgar328/matlab-code-examples/tree/main/sudoku)\n\nSudoku puzzles are treated as an [Exact Cover Problem](https://en.wikipedia.org/wiki/Exact_cover),\nand [Knuth's Algorithm X](https://en.wikipedia.org/wiki/Knuth%27s_Algorithm_X) is used to solve it.\n\n- Sudoku solver\n\n\u003cimg width=\"400\" src=\"https://user-images.githubusercontent.com/93251045/205836645-60c3c8fa-52c9-4321-a817-41072e39e787.png\"\u003e\n\n- Solve 1465 hardest sudokus\n\n\u003cimg width=\"400\" src=\"https://user-images.githubusercontent.com/93251045/205836912-c9c3f2a2-f8d8-43fe-b913-ce9d69a9fd2d.png\"\u003e\n\n\u003cimg width=\"400\" src=\"https://user-images.githubusercontent.com/93251045/205836990-b33af6f6-73b3-4363-8bfd-d4d9e8018df0.png\"\u003e\n\n- Sudoku generator\n\n\u003cimg width=\"400\" src=\"https://user-images.githubusercontent.com/93251045/205837053-81bcb0fe-8cd7-403b-b083-863e99ad9591.png\"\u003e\n\n### [cos(12000!)](https://github.com/elgar328/matlab-code-examples/tree/main/cos%20of%2012000%20factorial)\n\nA rudimentary script to evaluate cos(12000!).\n\n\u003cimg width=\"550\" src=\"https://github.com/elgar328/matlab-code-examples/assets/93251045/5d35aee0-d4b1-4df6-9061-35e27fcbcd42\"\u003e\n\n### [ProgressBar](https://github.com/elgar328/matlab-code-examples/tree/main/tools/ProgressBar)\n\nHandy progress bar that can be used in GUI or text interface.\n\n- Faster than waitbar (MATLAB builtin)\n- GUI interface\n  - Figure automatically closes when the task is complete\n- CLI interface\n  - Monospaced fonts are recommended for the CLI interface\n- Parfor compatibility\n  - It uses parallel.pool.DataQueue\n  - No file I/O, no java class, no undocumented matlab for parallel progress tracking\n- Support for legacy MATLAB releases\n  - Standard version: MATLAB 2020b ~ latest\n  - Legacy-compatible version: MATLAB 2017a ~ latest \n\u003cbr\u003e \u003cbr\u003e\n\u003cimg width=\"400\" src=\"https://github.com/elgar328/matlab-code-examples/assets/93251045/a1293838-36b5-4375-a69a-42e4bfe94018\"\u003e\n\u003cbr\u003e \u003cbr\u003e\n\u003cimg width=\"600\" src=\"https://github.com/elgar328/matlab-code-examples/assets/93251045/08df69d2-f074-47da-b4cb-7eca3f37a7de\"\u003e \n\u003cbr\u003e \u003cbr\u003e\n\n### [loopControl](https://github.com/elgar328/matlab-code-examples/tree/main/tools/loopControl)\n\nCreates a dialog box that allows you to pause or break from an infinite while loop.\n\n\u003cimg width=\"250\" src=\"https://github.com/elgar328/matlab-code-examples/assets/93251045/9ce3dd5d-dcb6-43d3-9046-092336fb8069\"\u003e  \n\u003cbr\u003e\n\u003cimg width=\"500\" src=\"https://github.com/elgar328/matlab-code-examples/assets/93251045/a367f96f-0f48-43ec-aedf-c1fc7d445fa5\"\u003e  \n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felgar328%2Fmatlab-code-examples","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Felgar328%2Fmatlab-code-examples","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felgar328%2Fmatlab-code-examples/lists"}