Please do the following Matlab problem,
Write a function to print an array of stars to the screen in theform of an isosceles triangle. The function will have one input andno outputs. The input will be the number of stars in the base ofthe triangle. Here’s an example of what the output would look likefor an input value of 9:
*
***
*****
*******
*********
Since the input value must be an odd number, include a test atthe beginning of the function to check that the input is odd. Oneway to do this is to use the built-in MATLAB mod function.The mod function returns the remainder when
PayPal Gateway not configured
PayPal Gateway not configured