Open AI chat box. Testing an AI generated Matlab code and making the AI fix it's own errors.

Опубликовано: 23 Июль 2026
на канале: Tomas Diaz
118
1

In this video I wanted to test how good is the AI at generating a relatively simple code in Matlab but a code that has some level of complexity.
The instructions were to have the AI write a code that generated three random and plots the triangle of these points and also plot the incircle and circumcircle of the triangle.
The results were interesting because first it wrote the main code which had the use of a non-existent function. Then I asked it to write that function. Then there were several errors on the code which I asked the AI to fix and it fixed most of them.
After several iterations of going back and forth with the system, the Open AI generated a functional code in less time that it would have taken me to generate that code without any copying myself.