Community Profile

jessupj

9 2019 年以降の合計貢献数

jessupj's バッジ

Set a new colormap
It should be as easy as calling something like cmap = cmocean('thermal'); % or 'deep', or whichever colormap from the collecti...

| 採用済み

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

Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...

Distance walked 1D
Suppose you go from position 7 to 10 to 6 to 4. Then you have walked 9 units of distance, since 7 to 10 is 3 units, 10 to 6 is 4...

3ヶ月 前

Pizza!
Given a circular pizza with radius _z_ and thickness _a_, return the pizza's volume. [ _z_ is first input argument.] Non-scor...

3ヶ月 前

Column Removal
Remove the nth column from input matrix A and return the resulting matrix in output B. So if A = [1 2 3; 4 5 6]; ...

3ヶ月 前

Determine if input is odd
Given the input n, return true if n is odd or false if n is even.

3ヶ月 前