Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask MATLAB Expert

MATLAB Project description:

Write an ATM program simulation using MATLAB to do the three common tasks: withdraw, deposit and balance checking using three MATLAB functions. You must define 3 users. The users' information are stored in a matrix named as "DATA_BASE".

The three functions are:

The WETHDRAW function to make money withdrawal.
The DEPOSIT function to deposit money in the account.
The CHECKING function to check the account balance.

To withdraw money successfully from the account the balance must be greater than the amount of money to be taken out of that account, otherwise, it displays a message stating that the user does not have enough cash.

The application will prompt the user to enter the account user name and password. If the user name is not predefined, it prints a message stating that the user doesn't have an account with the bank, otherwise, it prompts the user to enter the password. It checks the password. The user has 3 tries to get the password correct. Otherwise, the account will be locked and no transactions can be done. Once the user name and password entered correctly, the application displays the main menu to choose between 3 transactions: withdraw (W), deposit (D), and balance checking (C) or exit (E). After the user finishes its transaction, the application must display the main menu again and user clicks on (E) to close the program.

The user name of the 3 users must be stored in the first column of the matrix "DATA_BASE"
The password of the 3 users must be stored in the second column of the matrix "DATA_BASE"
The 3 accounts balance must be stored in the third column of the matrix "DATA_BASE"

DATA_BASE

User_0

Password_0

Balance_0 $

User_1

Password_1

Balance_1 $

User_2

Password_2

Balance_2 $

MATLAB, Engineering

  • Category:- MATLAB
  • Reference No.:- M92305945
  • Price:- $40

Priced at Now at $40, Verified Solution

Have any Question?


Related Questions in MATLAB

Question a safe prime is a prime number that can be written

Question : A safe prime is a prime number that can be written in the form 2p + 1 where p is also a prime number. Write a MATLAB script file that finds and displays all safe primes between 1 and 1000.

Suppose that a student has the option of enrolling for a

Suppose that a student has the option of enrolling for a single elective during a term. The student must select a course from a limited list of options: "English, " "History, " "Biology, " "Computer, " or "Math." Constru ...

Assignment -data is given on which want to do computational

Assignment - Data is given on which want to do computational production planning using Metaheuristic MATLAB Programming: 1) Ant Colony Algorithm on both Partial and Total Flexible Problem. 2) Bee Algorithm on both Partia ...

Recitation problems -1 determine the highest real root of

Recitation Problems - 1. Determine the highest real root of f(x) = 2x 3 - 11.7x 2 + 17.7x - 5 using the Newton-Raphson method with at least four iterations. Start with an initial guess of x 0 = 3. 2. Determine the real r ...

Assignmentq1 find the laplace transforms of the following

Assignment Q.1 Find the Laplace transforms of the following functions: (a) t 2 + at + b and (b) sin(2nΠt/T) Q.2 Find f (t) for the following F(s) = α[ f (t)]. (i) 5/(s + 3), (ii) 1/s 2 + 25, (iii) 1/s(s+1) Q.3 Find the L ...

Suppose that you have used some concept learning algorithm

Suppose that you have used some concept learning algorithm to learn a hypothesis h1 from some training data. You are interested in knowing the accuracy that the hypothesis can be expected to achieve on the underlying pop ...

Question - verify the attached paper with matlab and get

Question - Verify the attached paper with matlab and get all the results in the paper and explain step by step the matlab code. Paper - Improving Massive MIMO Belief Propagation Detector with Deep Neural Network. Attachm ...

Assignment - matlab programmingusing appropriate matlab

Assignment - MatLab Programming Using appropriate MatLab syntax, write the code required to analyse and display the data as per the problem description. The order of the MatLab Program should be as follows: Variables and ...

Assignment - matlab programmingusing appropriate matlab

Assignment - MatLab Programming Using appropriate MatLab syntax, write the code required to analyse and display the data as per the problem description. The order of the MatLab Program should be as follows: Variables and ...

Assignmentafter the success of your robo-advice venture you

Assignment After the success of your robo-advice venture you decide to explore alternative sources of profitability for your company. You realize that Australian investors are often forced to chose between expensive acti ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As