Question: using Matlab how can I go about solving these problems? 1. Use random number generator function rand) to create (a) a column vector y of

 using Matlab how can I go about solving these problems? 1.

using Matlab how can I go about solving these problems?

1. Use random number generator function rand) to create (a) a column vector y of 100 elements b) a column vcctor b of 5 element.s (e) a matrix X of 100 rows and 5 columns 2. Let y. b and X be as created in problem 1. Suppose y has elements yi, ..., /10o and b has clements bi, b2, ...b5. Supposc ri is the ith row of X. Calculate (a) the quantity 100 (b) the quantiy (c) the quantities aud 3. Write a function that takes any matrix X of size m n with m > n and a column vextor y of size m as inputs and ret.urn a valuc of d: 4. Writc a function that sorf.s a given scqcncc of numbcrs. For cxamplc. l input is the sequnce 3, 2, 5, 1, 4, then the function outputs the sequence 1. 2. 3, 4, 5

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!