I think the third example in the problem statement is incorrect. The input is a row (it's set up as a column, but then is transposed), but the output is a column.
There may have some limitations when resulting rows are with different lengthes.
9818 Solvers
151 Solvers
Reverse the Words (not letters) of a String
297 Solvers
Arrange Vector in descending order
4073 Solvers
Create an index-powered vector
352 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!