MATLAB: Good morning everyone can anyone answer me this question ? i have an error in the matlab code

pp

??? Error using ==> mldivide Matrix dimensions must agree.
Error in ==> Untitled at 4 Nl=(1/Tl)*60*15;
and this is the code
Tl=exprnd(1:10);
for l=1:10
Nl=(1/Tl)*60*15;
end histogram(Tl,Nl)

Best Answer

You don't need for loop and you should use ./ instead of /
Nl=(1./Tl)*60*15;
Related Question