Question: rng ( 6 ) ;y = randi ( 1 0 , 4 0 , 1 ) ; z = randi ( 1 0 , 6

rng(6);y=randi (10,40,1);z= randi (10,60,1);%-- SETUP: do not edit
Use the loop provided to implement the outer product F of the column vectors y and z(in that order) defined above. You should construct F by stacking up rows.
%Edit the lines below to generate the outer product F of column vectors y and zF=[]
for i=1:40
irow =y(i)**z';
; irow
 rng(6);y=randi (10,40,1);z= randi (10,60,1);%-- SETUP: do not edit Use the loop

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!