good morning , how can i plot a histogram for this code?

Tl=exprnd(1:10); for l=1:10
Nl=(1./Tl)*60*15;
end histogram(Tl,Nl)

Answers (1)

It's a good morning to read some documentation too, https://de.mathworks.com/help/matlab/ref/histogram.html
Tl=exprnd(1:10);
Nl=(1./Tl)*60*15;
histogram(Nl)

This question is closed.

Tags

Asked:

on 29 Oct 2017

Closed:

on 20 Aug 2021

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!