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
Example of image processing: The other illustration generates a 5 × 5 matrix of arbitrary integers in the range from 1 to the number of colors; the resultant image is as shown

Execute a exponential function program: Running the script will take up the menu as shown in the figure: Then, what happens will totally depend on which button(s) the

Matrix Multiplication: The Matrix multiplication does not mean multiplying term by term; and it is not an array operation. The Matrix multiplication has a very particular mean

Set Operations: The MATLAB has numerous built-in functions which perform set operations on vectors. These involve intersect, union, setdiff, unique, and setxor. All these func

Expanding a function: The expand function will multiply out terms, and factor will do the opposite: >> expand((x+2)*(x-1)) ans = x^2 x-2 >> factor(ans)

Function call: In the function call, not any arguments are passed so there are no input arguments in the function header. The function returns an output argument, therefore th

Algorithm for the function explaine: The algorithm for the function explaine is as shown:  Print a description of e, the exp function, and how to find the approximate va

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


Function used in sound files: The MATLAB has numerous other functions which let you read and play sound or audio files. In the audio files, sampled data for each audio channel