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
Execution steps: Whenever the program is executed, the steps below will take place: The script calcandprintarea starts executing. The calcandprintarea calls the readr

Interpolation and extrapolation: In most cases, it is desired to estimate values other than at the sampled data points. For illustration, we may want to estimate what the temp

Creating Cell arrays: There are many ways to create cell arrays. For illustration, we will create a cell array in which one element will store an integer, one element store ch

Gauss-Jordan: The Gauss-Jordan elimination technique begins in similar way which the Gauss elimination technique does, but then rather than of back-substitution, the eliminati

FOR Loop: The for loop, or the for statement, is used whenever it is essential to repeat statement(s) in the script or function, and whenever it is known ahead of time how man

Changing Case: The MATLAB has two functions which convert strings to all uppercase letters, or all lowercase, known as the upper and lower. >> mystring = 'AbCDEfgh';

Example to change the line width from the default: For illustration, to change the line width from the default of 0.5 to 1.5: >> set(hl,'LineWidth',1.5) As long as the

Function cirarea - Anonymous functions: The function handle name is cirarea. The one argument is passed to the input argument radius. The body of the function is an expression

Referring to and Showing Cell Array Elements and Attributes: Just as with the other vectors, we can refer to individual elements of the cell arrays. The only difference is tha

Examine exponential function: The algorithm for the main script program is shown below:  Call a function eoption to show the menu and return the user's choice.  Loop