Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Learning objectives: Use of matrices in Matlab Use of looping algorithms to solve problems on matrices in Matlab Reading data from a xlsx file Note:
Learning objectives: Use of matrices in Matlab Use of looping algorithms to solve problems on matrices in Matlab Reading data from a xlsx file Note: You may not be able to do this project on your personal laptop unless you have both Matlab and MS- Excel installed on your machine. You may have to use the lab computers. Data Files: First, save the proj4a.lsx and proj4b.xlso files provided on the website into your Matlab folder (the same folder where your .m files are stored). Each file will contain one row of numbers, but the number of columns may differ between files. Specifications: Write ascript that asks the user to enter the name of the Excel file. The script then reads this file into a vector (1D matrix) and prints it on the screen. Then the script finds/calculates the following: The length (number of values) of the list The highest number in the list The lowest number in the list The sum of the numbers in the list The average of the numbers in the list The reverse of the numbers in the list. [12,3,4] reversed isl4,3,2,10 The first four are just single numbers, so print a message with the value for each. For the reverse, simply print Reverse: on one line, then print the vector containing the value on another line. Sample Execution: Enter Excel file name Bookl.xlsx
Step 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