if input is x= { /*[0..10]*/ 0, 11, 21, 31, 41, 55, 50, 10, 810, 9.10, /*[10...25]*/ 100, 110, 120, 130, 140, 255 /* 0., 0., 2., 0., 4., 0., 6., 0., 8., 0., 00., 0., 10., 10., 10., 05. / } / BHA: 2^0 OFF: 0 MIN/MAX: 0 .. 25 */;
Y=[0, 11, 21, 31, 41, 55, 50, 10, 810, 9.10 , 100, 110, 120, 130, 140, 255]
yes i want that {} changed to []
put Y as it is because i want to take that in XLS afterwords
There is an error in your test cases. Please fix the declaration of the input x so that it is valid.
The test suite has been fixed so that it is now solvable.
Thanks for fixing the Test Suite. The Problem Statement could also do with being rejigged. Apparently now the task is to convert a 1D cell array to an ordinary 1D array. Whereas the Problem Statement contains a lot of malarkey such as "/*[10...25]*/" and "BHA: 2^0 OFF". —DIV
Please fix your test
Error: File: Test1.m Line: 1 Column: 5 Expression or statement is incomplete or incorrect.
468 Solvers
First non-zero element in each column
464 Solvers
191 Solvers
1228 Solvers
271 Solvers