Community Profile # Guilherme

Last seen: etwa 2 Monate vor Aktiv seit 2022

#### Statistiken

All
• • Abzeichen anzeigen

#### Content Feed

Anzeigen nach

Beantwortet
How to add top and bottom x-axes labels to a heatmap?
Hi @ct8! I think you may want to have a look on this page: https://www.mathworks.com/help/matlab/creating_plots/graph-with-multi...

5 Monate vor | 0

Gelöst

Encode Roman Numerals
Create a function taking a non-negative integer as its parameter and returning a string containing the Roman Numeral representat...

8 Monate vor

Gelöst

It dseon't mettar waht oedrr the lrettes in a wrod are.
An internet meme from 2003 (read more here) asserted that readers are relatively insensitive to letter order in words, so long a...

8 Monate vor

Gelöst

Remove any row in which a NaN appears
Given the matrix A, return B in which all the rows that have one or more <http://www.mathworks.com/help/techdoc/ref/nan.html NaN...

8 Monate vor

Gelöst

Quote Doubler
Given a string s1, find all occurrences of the single quote character and replace them with two occurrences of the single quote ...

8 Monate vor

Gelöst

Find the minimum of the column-maximums of a matrix
Given a matrix A, find the maximum value of each column, then return the smallest of those maximum values (ie return the minimum...

8 Monate vor

Gelöst

Create an arrow matrix
An arrow matrix is a square matrix that contains ones on the diagonal, the last column, and last row. ...

8 Monate vor

Gelöst

Summing digits
Given n, find the sum of the digits that make up 2^n. Example: Input n = 7 Output b = 11 since 2^7 = 128, and 1 + ...

8 Monate vor

Gelöst

Swap the first and last columns
Flip the outermost columns of matrix A, so that the first column becomes the last and the last column becomes the first. All oth...

8 Monate vor

Gelöst

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

8 Monate vor

Gelöst

Given a and b, return the sum a+b in c.

8 Monate vor

Gelöst

Make a checkerboard matrix
Given an integer n, make an n-by-n matrix made up of alternating ones and zeros as shown below. The a(1,1) should be 1. Examp...

8 Monate vor

Gelöst

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

8 Monate vor

Gelöst

Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

8 Monate vor