Input function, MATLAB Programming

Input Function:

The Input statements read in values from the default or standard input device. In most of the systems, the default input device is the keyboard; therefore the input statement reads values which have been entered by the user, or by the person who is running the script. To let the user know what he or she is assumed to enter, the script should first prompt the user for the specified values.

The simplest input function in a MATLAB is known as input. The input function is used in the assignment statement. To call it, the string is passed, that is a prompt which will emerge on the screen, and what the user types will be stored in the variable named on the left of the assignment statement. To make it simpler to read the prompt, place a colon and then a space after the prompt. 

 

Posted Date: 10/18/2012 5:46:15 AM | Location : United States







Related Discussions:- Input function, Assignment Help, Ask Question on Input function, Get Answer, Expert's Help, Input function Discussions

Write discussion on Input function
Your posts are moderated
Related Questions
Hello sir, I am Bharat Prajapati.I am working on Copy-move forgery detection using 2D-DWT transform.How to code in matlab to detect copy-move forgery in the given image.Please help

#defining matrix using only special commands

Problem 1. Create a vector representing x coordinates of a measurement with 20 points between 0 and 10. Create another vector y representing fake measurements which are related to


Project: "An Efficient Human Identification Using Gait Analysis" I want apply/follow the same methodology (Methods/Algorithms) for this paper ("Human Gait Recognition Using Bezi

Type logical: The type logical is used to store the true/false values. If any variables have been formed in the Command Window, they can be seen at the Workspace Window. In


Calling an User-Defined Function from Script: Now, we will change our script which prompts the user for the radius and computes the area of a circle, to call our function cal

Matlab Scripts: Once a problem has been examined, and the algorithm for its answer has been refined and written, the algorithm then is translated into the specific programming

This problem is intended to demonstrate some problems that can arise from the finite precision of numerical calculations performed with computers.  We will do this by approximating