Answered Simple question regarding "distance" function
from that link, it looks like the distance function is part of a toolbox.
in my 2019b, distance is available from several toolb...
Answered Set a new colormap
It should be as easy as calling something like
cmap = cmocean('thermal'); % or 'deep', or whichever colormap from the collecti...
6 years ago | 1
| accepted
Solved
Binary numbers
Given a positive, scalar integer n, create a (2^n)-by-n double-precision matrix containing the binary numbers from 0 through 2^n...
Make the vector [1 2 3 4 5 6 7 8 9 10]
In MATLAB, you create a vector by enclosing the elements in square brackets like so:
x = [1 2 3 4]
Commas are optional, s...