Cédric S.
Content Feed
已解决
String permutations on phone keyboard
Given a number such as 2639 return all possible string permutations using the phone-keyboard on <http://www.mathworks.com/matlab...
3 years 前
已解决
Draw 'H'
Draw a x-by-x matrix 'H' using 1 and 0. (x is odd and bigger than 2) Example: x=5 ans= [1 0 0 0 1 1 0 0 0 1 ...
3 years 前
已解决
Simple Matrix
Make the following matrix without typing it in one by one. [1 2 3; 2 4 6; 4 8 12] x=[1 2 3].
3 years 前
已解决
Find the sum of all integers in a given matrix
Finding sum of all integers in a given matrix
3 years 前
已解决
Rotate Matrix Depending on the input
Rotate matrix (CounterClockwise) via 90, 180 or -90 depending on the input Ex. a = [1 2 3; 4 5 6; 7 8 9] b = 90; ...
3 years 前
已解决
Sum the numbers on the main diagonal
Sum the numbers on the main diagonal of an n-by-n matrix. For input: A = [1 2 4 3 6 2 2 4 7]...
3 years 前
已解决
Divide by 4
Given the variable x as your input, divide it by 4 and put the result in y.
3 years 前