Community Profile |

10+ years of MatLab experience

Always interested in teaching others and learning new tricks.

Datasets changed the way I program in MatLab, I love them.

Professional Interests: Time series, Numerical Analysis, Forecasting, Option Pricing, Econometrics, Image Processing

Top 1% contributor

**139**Contributions

I think you would have to use the compiler

*4468* views

Responded 5 years ago

looks like your cmin or rmin is less than or equal to zero, or is not an integer

*2240* views

Responded 5 years ago

I'd use randperm with logical indexing x=[.5 .6 .3 .1 .9 .8] p=randperm(6) x(p)

*1420* views

Responded 5 years ago

I'd use randperm with logical indexing x=[.5 .6 .3 .1 .9 .8] p=randperm(6) x(p)

*1420* views

Responded 5 years ago

Count is not a cell array but you reference it as one using {i}

accepted

0

Answered 2 years ago