Posted at: 30 - May - 2017
Category: MATLAB
Author: syedzainnasir
0 Comments
Departments: Softwares:How to use MATLAB input Function
Here, in this tutorial I will explain you the importance and the procedure about How to use MATLAB input Function. The one of the main advantage of getting the data from the user is, the algorithm becomes generic in this way. The different users can get different types of results from the same program according their requirements. The user has to enter the input on the command window and can get the desired results according to the given input.Getting User Data
clcx=input('Enter the value of x = ');y=input('Enter the value of y = ');x+y
Note:You should also have a look at these MATLAB projects as well:
clc %clearing command windowx=input('Enter the value of x = ');%takes the value of x from the usery=input('Enter the value of y = ');%takes the value of y from the userproduct = x*y %performing multiplication
clc %clears comand windowx=input('Enter the value of x = '); %takes the value of x from the usery=input('Enter the value of y = '); %takes the value of y from the userproduct = x/y %performing division operation
How to Prepare Screenshots For Your Posts
Previous PostHow to use MATLAB
Next Post-Website Author
Syed Zain Nasir
syedzainnasir I am Syed Zain Nasir, the founder of The Engineering Projects (TEP). I am a programmer since 2009 before that I just search things, make small projects and now I am sharing my knowledge through this platform. I also work as a freelancer and did many projects related to programming and electrical circuitry. My Google Profile+ Follow Get Connected
Comments on ‘’ How to use MATLAB input Function ‘’ ( 0 )