Top 1% contributor

**1,112**Contributions

Try this: ind = ceil(rand * size(m,1)); mrow = m(ind,:);

accepted

2

Answered 2 years ago

x = 5.5 if x > 6 disp('x is greater than 6') elseif x >= 3 && x <= 6 if mod(x,1) ~= 0 ...

accepted

1

Answered 2 years ago

Does the following work? newVar = fit.Variance;

accepted

1

Answered 2 years ago