program repeat the highest value each time I run it
显示 更早的评论
Hi all, why does program repeat the highest value each time I run it? Note: When I choose a higher value the program run correctly
The issue in these lines
promt4 = 'Please enter the number of bits: ';
N = input(promt4); %Number of bits
if N <= 128
Nb = N;
else
promt5 = 'Please enter the correct number of bits between 0-128: ';
N = input (promt5);
Nb = N;
end
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Get Started with MATLAB 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!