Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Need this for MATLAB I need to The purpose of this assignment is to help you become familiar with Arrays and Matrices inside of MATLAB

image text in transcribedimage text in transcribedimage text in transcribedimage text in transcribedimage text in transcribed

Need this for MATLAB I need to

The purpose of this assignment is to help you become familiar with Arrays and Matrices inside of MATLAB Your submission will be a Word or Text file containing the.m script file you create as well as the output of your script file, including appropriate screen shots of the outputs. You should clearly delineate each question in your submission. A screenshot of your console would be appropriate to show the results of your work. Question 1 Define the variables x-0.85 and y-11.2. Use them to create a column vector that has the following elements: y, yr In(y/z), *y, and x +y. Question2 Create a row vector of 11 equally spaced elements in which the first element is 96 and the last element is 2 Question 3 Create a column vector in which the first element is 26, the elements decrease with increments of-3.6, and the last element is -10. Question 4 Create a row vector with five elements that are all 5. Question 5 Use a single command to create a row vector with 11 elements such that it equals 02 4 6 8 10 129 6 3 0. You cannot explicitly type the vector - you must use appropriate commands to create this vector Question 5 Use a single command to create a row vector with 11 elements such that it equals [0 2 46 8 10 129 6 3 0.You cannot explicitly type the vector-you must use appropriate commands to create this vector. Question 6 Create the following matrix by typing one command only. You cannot explicitly type the matrix-you must use appropriate commands to create this matrix. 0 0 0 6 Question7 Create three row vectors a 3 1511 -42, b [7 - 92131 - 2,and c-24 78 0 9). These can be explicitly written. Use the three vectors in a single MATLAB command to create: 1) a 3x4 matrix such that the first, second, and third rows consist of the last four elements of the vectors a, b, and c respectively 2) a 3x6 matrix in which the rows are the vectors a, b, and c 3) a 6x3 matrix in which the columns are the vectors a, b, and c. Question 8 Using the zeros, ones, and eye commands, create the following arrays by typing one command: 1) 1100 0 100 0 1 1 0 1 0 0 1 1 3) 0 0 0 0 0 0 0 0] Question9 Create the following matrix Aa. You cannot write the matrix explicitly -you must use commands to generate the matrix! 36 34 32 30 28 261 Aa24 22 20 18 16 14 12 108642 1) Create a six-element row vector named ha that contains the elements of the second row of Aa 2) Create a three-element column vector named hb that contains the elements of the sixth column of Aa 3) Craete a five-element row vector named hc that contains the first two elements of the third row of Aa and the last three elements of the first row of Aa Question 10 Create a 2x3 matrix AA in which all of the elements are 1. Then use AA to create the following BB matrix. 0 01 1]

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

Database Concepts

Authors: David Kroenke

4th Edition

0136086535, 9780136086536

More Books

Students also viewed these Databases questions

Question

2. How will you handle the situation?

Answered: 1 week ago

Question

3. Write a policy statement to address these issues.

Answered: 1 week ago