hey guys,
i need some help making a matlab function that asks the user to input an integer value.
do
while (M is not an integer > 0)
fprintf('please enter the order of the filter: ')
{user input for M}
end
i dont know how to make a do while loop in matlab, the "isinteger" function doesnt seem to work for me and i dont know how to store a value like c's scanf function. if someone can turn the above code into a working matlab code