- #1
ineedhelpnow
- 651
- 0
Create a matrix with 4 rows and 8 columns with every element equal to 0. Create a second, smaller matrix with 2 rows and 4 columns where each row is [1 2 3 4]. Replace the 0s in the upper left-hand corner of the bigger matrix with the values from the smaller matrix. (If you do this correctly, the first 4 columns of the first 2 rows of the big matrix will change.)
Display the modified big matrix.
This is the last question i have. i promise (Blush)
what i did:
im not sure how to go about merging the second matrix into the first one now
Display the modified big matrix.
This is the last question i have. i promise (Blush)
what i did:
Code:
y=zeros(4,8)
z=meshgrid(1:4)
im not sure how to go about merging the second matrix into the first one now