MatlabWrite a function myribbon that returns a set of three 50×50 matrices x, y, and z that represent a circular cylindrical 3-D ribbon. The three matrices can be used to plot the ribbon using mesh or surf or plots. The function should accept two arguments: the radius r of the ribbon and the height hor width) of the ribbon. You can get ideas from the script that plots donuts. stion Maximum file size: 100MB, maximum number of files: 1 Show transcribed image text Write a function myribbon that returns a set of three 50×50 matrices x, y, and z that represent a circular cylindrical 3-D ribbon. The three matrices can be used to plot the ribbon using mesh or surf or plots. The function should accept two arguments: the radius r of the ribbon and the height hor width) of the ribbon. You can get ideas from the script that plots donuts. stion Maximum file size: 100MB, maximum number of files: 1
Expert Answer
Answer to Write a function myribbon that returns a set of three 50×50 matrices x, y, and z that represent a circular cylindrical 3…