Homework #2 Total points 30 Grade 2 Almaaqal Univ. Comp. Eng. Dept. Problem#1: (20 points) Write a code section in MATLA
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
Homework #2 Total points 30 Grade 2 Almaaqal Univ. Comp. Eng. Dept. Problem#1: (20 points) Write a code section in MATLA
Homework #2 Total points 30 Grade 2 Almaaqal Univ. Comp. Eng. Dept. Problem#1: (20 points) Write a code section in MATLAB that performs the following tasks: 1. Reads a statement from the user (hint: use input with 's'). 5 pts 2. Store the letters of the statement into a cell array (Hint: you better use a dedicated function for storing the letters). 5 pts 3. Show the demo of your execution of your code and submit it along with your homework. 10 pts Problem #2 (18 points) • Create a dedicated functions for each of the following: 1. A function to Read the contents of an excel file and store them in an array(4 pts) 2. A function to calculate the dimensions of the array obtained in (1).(4 pts) 3. A function to convert the contents of the array obtained in (1) into a table and write it in a new excel file named (your name with no spaces) (10 pts) Hint to convert an array to a table use the command (array2table read in MATLAB help about this command)
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!