Question: Hi, please help me do the solution for the rogram in Octave or Matlab. thanks Question 4 (a) Write Matlab solution for the following conversion:
Hi, please help me do the solution for the rogram in Octave or Matlab. thanks

Question 4 (a) Write Matlab solution for the following conversion: Option DR Conversion Degrees to Radian Radian to Degree RD other Error mag Your solution must prompt user to input the option (DR or RD). If the option is DR, then ask for angle in degrees and the program displays the equivalent radians. If the option is RD then ask for angle in radians then the program displays the equivalent degrees. Your program should able to accept both scalar and matrix input. The script should keep running until no number is provided to convert. (The function isempty will be useful here) (15 marks) (Hint: degrees = radians * 180 / pi Radians = degrees * pi / 180 ) 3/5
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
