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
Problem: A function is given by Y= 2x3 + 3 x2 -12x + 5 a determine the finite values of x at which any local maximum of minimum occur and determine the corresponding val

Generates sin or cos wave using plot functions: The script generates an x vector; iterating through all the values from 0 to 2*π in steps of 2*π /40 gives sufficient points to

Problem of a projectile being launched at an angle of O at an initial velocity ofv. The equations for the height hand horizontallocation x as functions of time t are as follo


Looping Statements: Consider the problem of computing the area of a circle with radius of 0.3 centimeters-a MATLAB program certainly is not required to do that; you would use

how can write a program to make a marksheet of 6 subjects?

conversion of decimal to binary

I want to write a function in matlab which gives me a population pyramid bar chart. could you please help me do this.

kind in geometric calculity in space AREA. >

can we use regression in bioinformatics toolbox?