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...
5 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...