You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
My first try generated this fairly simple program that performs a polynomial fit to supplied data, and plots the result although I didn't ask for that! Have fun out there!
I used Copy for ChatGPT Chrome extension to paste the output into a new .mlx, dragged over the code bits to convert from text to code, removed some blank lines, and then added a title, description, and license command.
Cite As
Duncan Carlsmith (2026). ChatGPT Generated MATLAB program (https://in.mathworks.com/matlabcentral/fileexchange/124080-chatgpt-generated-matlab-program), MATLAB Central File Exchange. Retrieved .
Acknowledgements
Inspired: Collection of popular optimization technqiues, TPMS (Triply Periodic Minimal Surface) Gyroid, Drag and drop PDF to MATLAB conversion with ChatGPT, Code Generation Comparison for MATLAB - ChatGPT versus Bard, Miltary Target Classification in MSTAR Dataset using MATLAB, conway-Folge (schreib was du liest)
General Information
- Version 1.01 (209 KB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
