You have to prepare the MatLab Script Code written for:
Ask user for integer, m. Then use a for loop to create a row array with m elements consisting of all the integers from 1 to m. Use disp to display the resulting array. For m, use 15.
Then, Use a for loop to extract every third element from the array created before, and store the results in a new array. Use disp to display the resulting array.
You need to implement this program in MATLAB. You need to provide the answer ASAP.