Answer:
output:
-1 6 -4 6 -1 -10 -7 5 -1 -7
Step-by-step explanation:
The MATLAB function
clear
clc
% PlotData function
PlotData(atbar); //change the at with at sign
function [] = PlotData(plot)
% [-10,10] is the range 1 is row and 10 is columns
y=randi([-10,10],1,10);
disp(y);
plot(y);
end
See attachment for the graph