Algorithms, MATLAB Programming

Algorithms:

Before writing any computer program, it is very useful to first outline the steps which will be essential. An algorithm is the series of steps required to solve a problem. In modular approach to programming, the solution of the problem is broken down into separate steps, and then each step is then refined again until the resulting steps are sufficient to be manageable tasks. This is known as the top-down design approach.

As a simple illustration, consider the problem of computing the area of a circle. At First, it is essential to determine what information is required in order to solve the problem, which in this situation is the radius of the circle. Now, given the radius of the circle, the area of the circle would be computed. Last, once the area has been computed, it has to be displayed in some way. Therefore, the basic algorithm is as shown below:

  • Obtain the input: the radius
  • Compute the result: the area
  • Show the output

 

 

Posted Date: 10/18/2012 5:36:31 AM | Location : United States







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

Write discussion on Algorithms
Your posts are moderated
Related Questions
can i post attachments of the assignment? and you do them for me?

Characters and Encoding: A character in a MATLAB is represented by using single quotes (example, 'a' or 'x'). The quotes are essential to denote a character; without them, the


Make a vector of 500 random numbers from a normal distribution with mean 2 and standard deviation 5(randn). a After you generate the vector, verify that the sample mean and stan

what are data collect this topic,how i can create algorithm in mat lab what language support easy to this topic

how to create adjacency matrix for amino acids in matlab?

how to implement 3 out of 4 visual cryptography?

For the 66kV subtransmission network shown below, calculate the following, using a MATLAB Simulink Power System Blockset model: 1. Three phase, phase-to-phase and phase-to-earth

i want to save the values of a particular equation in a for loop.. for ex: for i=1:100 et=(x+yz); end thus how can i store the values of et at each iteration

Your functions will allow you to create the following graph, which contains a piecewise function where a line exists in the first interval, a parabola in the second interval, and t