Write a script to display the following figure in the command window print statements.
Your script should prompt the user to input an integer n for the number of asterisks on each side of the diamond. In the above example. n=5. You may assume that n>3
This question belongs to MATLAB software and discusses about application of MATLAB to figures and to write a script to display the given figure.
Download Full Solution