Figured it out. It took me a while though, sadly.
for c. I used
cMat= linspace(1, 100)
cMat= reshape(cMat,10, 10)
and d. I used
fMat= ceil(rand(5,3)*10);
mod(fMat, 4)
And I really appreciate the help I am learning it through the MIT slides alone, I find I get hung up on little things like...