Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Create the following variables in Matlab... I. Column vector v with the 10 random elements between 7 and 23 II. A row vector w with

Create the following variables in Matlab...

I. Column vector "v" with the 10 random elements between 7 and 23

II. A row vector "w" with 10 elements that are evenly spaced between [-134,271]. What is the distance between each pair of elements

III. Use For loop to generate the followig matrix "A": col1: 0 0 ... 0 (25 zeros) col2: 1 1 ... 1 (25 ones) col3: 2 2 ... 2 (25 twos) col4: 3 3 ... 3 (25 threes) col5: 4 4 ... 4 (25 fours) col6: 5 5 ... 5 (25 fives) col7: 6 6 ... 6 (25 sixes) col8: 7 7 ... 7 (25 sevens) col9: 8 8 ... 8 (25 eights) col10: 9 9 ... 9 (25 nines)

IV. A 12 by 12 random matrix "E" with numbers that are uniformly distributed

V. Create a 10 by 25 matrix "B" that is like

B = [-1 0 6 2 -9 -1 0 6 2 -9 -1 0 6 2 -9 -1 0 6 2 -9 -1 0 6 2 -9 5 -3 2 -8 9 5 -3 2 -8 9 5 -3 2 -8 9 5 -3 2 -8 9 5 -3 2 -8 9 -1 0 6 2 -9 -1 0 6 2 -9 -1 0 6 2 -9 -1 0 6 2 -9 -1 0 6 2 -9 5 -3 2 -8 9 5 -3 2 -8 9 5 -3 2 -8 9 5 -3 2 -8 9 5 -3 2 -8 9 -1 0 6 2 -9 -1 0 6 2 -9 -1 0 6 2 -9 -1 0 6 2 -9 -1 0 6 2 -9 5 -3 2 -8 9 5 -3 2 -8 9 5 -3 2 -8 9 5 -3 2 -8 9 5 -3 2 -8 9 -1 0 6 2 -9 -1 0 6 2 -9 -1 0 6 2 -9 -1 0 6 2 -9 -1 0 6 2 -9 5 -3 2 -8 9 5 -3 2 -8 9 5 -3 2 -8 9 5 -3 2 -8 9 5 -3 2 -8 9 -1 0 6 2 -9 -1 0 6 2 -9 -1 0 6 2 -9 -1 0 6 2 -9 -1 0 6 2 -9 5 -3 2 -8 9 5 -3 2 -8 9 5 -3 2 -8 9 5 -3 2 -8 9 5 -3 2 -8 9]

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

The Accidental Data Scientist

Authors: Amy Affelt

1st Edition

1573877077, 9781573877077

More Books

Students also viewed these Databases questions

Question

What are the determinants of cash cycle ? Explain

Answered: 1 week ago