Code Generation Comparison for MATLAB - ChatGPT versus Bard

バージョン 1.01 (1.07 MB) 作成者: Duncan Carlsmith
Compares responses from OpenAI's ChatGPT to Google's Bard for identical code generation prompts.
ダウンロード: 45
更新 2026/2/9

ライセンスの表示

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 (2026). Code Generation Comparison for MATLAB - ChatGPT versus Bard (https://jp.mathworks.com/matlabcentral/fileexchange/127179-code-generation-comparison-for-matlab-chatgpt-versus-bard), MATLAB Central File Exchange. 取得日: .

MATLAB リリースの互換性
作成: R2023a
すべてのリリースと互換性あり
プラットフォームの互換性
Windows macOS Linux
バージョン 公開済み リリース ノート
1.01

Added interactive_examples tag

1.0.1

Link to related scripts

1.0.0