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

*5176* views

Responded 6 years ago

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

*2569* views

Responded 6 years ago

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

*1802* views

Responded 6 years ago

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

*1802* views

Responded 6 years ago

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

accepted

0

Answered 3 years ago