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
how do you make a program for a parachute man falling to determine his terminal velocity, having in consideration the drag force (cv^2). I have the formula to be v(i+1)=v(i)*delta(

Command Window: To the left of the Command Window, there are 2 tabs for the Current Directory Window and Workspace Window. If the Current Directory tab is selected, the files

Code and decode a 32 bit long data for a specific user in CDMA if there is only 1 user and no noise.

Example: Load from File and Plot Data: As illustration, a file known as timetemp.dat stores two lines of data. The first line is the time of the day, and the next line is the

how do I make a second main function?

Use Taylor series to derive the form of the truncation error of the approximation Suppose f € C3. Given that the roundo error has the similar form as in the Forward D

Creating row Vectors: There are many ways to generate row vector variables. The most important way is to put the values which you want in the vector in square brackets, separa


a. Develop and submit the simulation described above. b. Provide a screen shot of the outputs of the DispConfig and MCResults functions. c. Notes: • Include the PPConfig f

Read in any non jpeg image (any image will do) . Save it as a jpeg at quality levels (70, 60,50,40, 30) Get the MSE for each quality level as compared to the orignal file Get the