ChatGPT is increasingly proficient in code generation. This Live Script provides two examples of code generated with AI assistance to accomplish "chores." One code snippet manipulates an image. Another creates a function that generates an illustration. These tasks were accomplished by copy-pasting code provided by the AI into the Live Editor, reviewing the results, and iterating to obtain the desired appearance. In the case of the image manipulation, example code [1] was included in the initial prompt.
Only a few trivial execution errors resulted such as the image load failing as the prompt had not specified the path. The process in each case required of order 15 minutes to achieved desired results, what was desired being developed along en route.
ChatGPT's summary of the interaction and solicited prompting advice are given below followed by the code samples.
引用格式
Duncan Carlsmith (2024). Image manipulation and illustration with ChatGPT4o (https://www.mathworks.com/matlabcentral/fileexchange/167256-image-manipulation-and-illustration-with-chatgpt4o), MATLAB Central File Exchange. 检索时间: .
MATLAB 版本兼容性
创建方式
R2024a
兼容任何版本
平台兼容性
Windows macOS Linux标签
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!ImageManipulationAndIllustrationWithChatGPT folder
版本 | 已发布 | 发行说明 | |
---|---|---|---|
1.0.0 |