Write a script that creates an image in MATLAB. Theimage is to be no larger than 100 pixels by 100 pixels. Fromscratch, create a 3D RGB matrix and include a command that candisplay it in a MATLAB window. (1 mark) i. Preview:
1.Make a Blue Hexagon
2.Make a Yellow triangle
3. Make a Red circle
Expert Answer
Answer to Write a script that creates an image in MATLAB. The image is to be no larger than 100 pixels by 100 pixels. From scratch…