Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

this is done through MATLAB please! PART II: Matrix Manipulation - Write a script that runs examples for each of your functions. 7) Create a

this is done through MATLAB please!
image text in transcribed
image text in transcribed
PART II: Matrix Manipulation - Write a script that runs examples for each of your functions. 7) Create a function that reads a matrix of any dimension and transposes it. You are not allowed to use MATLAB pre-defined functions. Use loops. 8) Create a function that reads two matrices and indicate if they are equal by comparing each element in the matrix. 9) Create a function that reads a matrix and swaps two columns. User should indicate which columns are to be swapped. 10) Create a function that reads a matrix and a row vector and inserts the vector into the matrix in the row required by the user [There are easier ways to do that in MATLAB and in other circumstances I would applaud you for using it, but for now, use loops] . For example: Insert 2 2 2 2 intorow 3: 11) Create a function the reads a matrix and flattens it into a vector. The user should have the option to read matrix by rows or by columns. For example: A B cl E F by row+G E F by col 12) My niece is learning her multiplication tables. Write a MATLAB function program that generates a multiplication table for her that goes up to 16 x 16. 13) "In a Surfing Competition, each judge gives a score in the range of 1 to 10. The highest and lowest scores are canceled, and the rest are averaged. The average is the score of the performance. Write a program that reads a vector with judges scores and outputs the average. Note that you need to determine the highest and lowest scores before excluding them in the computation." The scores are contained in the surf scores.mat file, which is on the course Moodle page You are not allowed to use the built-in max, min and average functions from MATLAB

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Fundamentals Of Database Systems

Authors: Sham Navathe,Ramez Elmasri

5th Edition

B01FGJTE0Q, 978-0805317558

More Books

Students also viewed these Databases questions

Question

Identify four applications of HRM to healthcare organizations.

Answered: 1 week ago