Programming Constructs in MATLAB: Susovan Jana
Programming Constructs in MATLAB: Susovan Jana
Constructs in MATLAB ®
Susovan Jana
Department of Information Technology
Institute of Engineering & Management, Kolkata, INDIA
Email (O): susovan.jana@iemcal.com
Email (P): jana.susovan2@gmail.com
2
Input from User
Numeric Input from Command Window
─ prompt = 'Enter the value of X: ';
─ X = input(prompt);
─ disp(X)
─ disp(['You have entered ', num2str(X)]);
continue
end
disp( num2str(n))
end