I had a similar question to this eariler in which you were told to take inputs z and x from a function and create a matrix of dimension x or z, whichever is larger.
i was told to do something like this:
x = -100:100;
z = -100:100;
myMatrix = randi(100, max(x,z));
do i do the same here but replace the max with min?
thanks for the help.