Code Generation Comparison for MATLAB - ChatGPT versus Bard

版本 1.0.1 (1.1 MB) 作者: Duncan Carlsmith
Compares responses from OpenAI's ChatGPT to Google's Bard for identical code generation prompts.
40.0 次下载
更新时间 2023/4/1

查看许可证

OpenAI's ChatGPT can generate working or nearly working MATLAB code in response to 'plain English' prompts, and translate mathematics into code as well as translate between natural languages. [1]. Recently Google's Bard is available on a trial basis [2] and comparisons of their code generation capabilities are possible. This script provides some illustrations of ChatGPT and Bard responses to prompts for some simple MATLAB codes.

引用格式

Duncan Carlsmith (2024). Code Generation Comparison for MATLAB - ChatGPT versus Bard (https://www.mathworks.com/matlabcentral/fileexchange/127179-code-generation-comparison-for-matlab-chatgpt-versus-bard), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2023a
兼容任何版本
平台兼容性
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

MATLABCodeGenerationChatGPTvBard

版本 已发布 发行说明
1.0.1

Link to related scripts

1.0.0