It's not clear how the output should be calculated
Not a general solution as X={4,6,8,...} are not on row 2.
Return the 3n+1 sequence for n
6175 Solvers
173 Solvers
find the maximum element of the matrix
349 Solvers
construct matrix with identical rows
168 Solvers
Calculate square and cube of number
248 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!