This really violates the spirit of the problem.
I know... :-p
it was quick and dirty. I will come again to solve it right. ;-)
57880 Solvers
Select every other element of a vector
21392 Solvers
338 Solvers
933 Solvers
Calculate the Number of Sign Changes in a Row Vector (No Element Is Zero)
249 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!