Boustrophedon
Given a vector v and a positive integer n, return an m-by-n matrix containing the elements of v row-wise, alternating left-to-ri...
約2年 前
解決済み
Pseudo-vampire number
refer to <https://en.wikipedia.org/wiki/Vampire_number>
Given a number x, determine whether it is a pseudo-vampire number.
A p...
約2年 前
解決済み
Bell Triangle
Form the bell triangle upto nth bell number posotion;
* if n=5
*
y= [1 0 0 0 0;
1 2 0 0...
約2年 前
解決済み
Balanced number
Given a positive integer find whether it is a balanced number. For a balanced number the sum of first half of digits is equal to...
Combined Ages 3 - Non-symmetric, n ≥ 3
Pursuant to the previous two problems ( <http://www.mathworks.com/matlabcentral/cody/problems/42382-combined-ages-1-symmetric-n-...
約2年 前
解決済み
Combined Ages 2 - Symmetric, n ≥ 3
Following on <http://www.mathworks.com/matlabcentral/cody/problems/42382-combined-ages-1-symmetric-n-3 Combined Ages 2>, you wil...
約2年 前
解決済み
Nilpotent matrix
Check if matrix A is
<http://mathworks.com/ nilpotent>.
約2年 前
解決済み
Combined Ages 1 - Symmetric, n = 3
You have probably seen the common riddle wherein combined ages are provided and you must determine the individual ages. For exam...
約2年 前
解決済み
System of equations
Find a solution to a system of equations represented by a |n| by |n+1| matrix. For instance,
[ 2 0 4; => 2*x = 4
...