Algorithm for the function e, MATLAB in Engineering

Algorithm for the function e:

The algorithm for the function eoption is as shown:

  • Use the menu function to show the 4 choices.
  • Error-check (an error would take place if the user clicks the X on the menu box instead of pressing one of the 4 buttons) by looping to show the menu until the user clicks one of the buttons.
  • Return the integer value equivalent to the button press.

 

Posted Date: 10/19/2012 8:32:04 AM | Location : United States







Related Discussions:- Algorithm for the function e, Assignment Help, Ask Question on Algorithm for the function e, Get Answer, Expert's Help, Algorithm for the function e Discussions

Write discussion on Algorithm for the function e
Your posts are moderated
Related Questions
Finding sums and products: A very general application of a for loop is to compute sums and products. For illustration, rather than of just printing the integers 1 through 5, w

Function strncmp: The function strncmp compares only the first n characters in the strings and ignores the rest. The initial two arguments are strings to compare, and third ar

Use of While loop: Here is an illustration of calling the function, passing 5000 for the value of the input argument high. >> factgthigh(5000) ans = 5040 The itera

Appending variables to the Mat-File: Appending to the file adds to what has been saved in a file, and is accomplished by using the -append option. For illustration, supposing

analyzing traffic; determine motion of flow; calculate tracklets; detect abnormalities;

Reduced Row Echelon Form: The Gauss Jordan technique results in a diagonal form; for illustration, for a 3 × 3 system: The Reduced Row Echelon Forms take this one step

Illustration of Gauss elimination: For illustration, for a 2 × 2 system, an augmented matrix be: Then, the EROs is applied to obtain the augmented matrix into an upper

Illustration of Vectors of structures: In this illustration, the packages are vector which has three elements. It is shown as a column vector. Each and every element is a stru

Comparing strings: There are few functions which compare strings and return logical true when they are equivalent or logical false when not. The function strcmp compares the s

Use polyval to evaluate the derivative at xder. This will be the % slope of the tangent line, "a" (general form of a line: y = ax + b). % 4. Calculate the intercept, b, of t