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 |