Question
Write MATLAB program in a script file called KKUGPPROJ012020.m that displays the following options when executed: 1.The first option [1] is to solve any number
Write MATLAB program in a script file called KKUGPPROJ012020.m that displays the following options when executed:
1.The first option [1] is to solve any number of simultaneous equations 2.he second option [2] in the main program is to plot a function.
3.The third option [3] in the main program is complex number calculator.
4.The fourth option [4] in the main program is matrix calculator.
Required:
1.The program must contain at least four functions that are called from the main script file. The functions should take arguments and return results.
2.In writing code for finding largest element of matrix, the average value of elements in matrix and sorting the elements in rows in ascending order, You can use MATLAB built-in functions such as max, mean and sort functions. You must use if conditions and for loops in writing program.
Choose one of the following [1] Solve Simultaneous Equations [2] Plot Function [3] Complex Numbers Calculator [4] Matrix Calculations Enter number hereStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started