MATLAB: Determining number of inputs

input

hello. usually in matlab, we ask the user to enter a value once using this code x=input('message'). but what if we wanted the user to determine how many times to enter a value?

Best Answer

N = ('How many times?');
for i=1:N
a(i) = ('your input');
end