How to count the range numbers of a sea state and display a number in each block (in a scatter diagram)?
1 view (last 30 days)
Show older comments
jose Hlunguane
on 25 Mar 2022
Commented: jose Hlunguane
on 28 Mar 2022
Hi everyone,
I am Alcebiades Hlunguane, and a beginner in MatLab programing.
Can any of you help me in counting for sea state a total o significant wave hights for each see state and build a scatter diagram?
%%%%%%%%%
mu = 0.3149;
sigma = 0.173;
Hs = lognrnd(mu,sigma,63104,12);
lowerbound=1.25;
upperbound=1.75;
data=Hs(Hs>lowerbound & Hs<upperbound);
%%%%%%%%%%
[I expect 57098 displayed]
0 Comments
Accepted Answer
More Answers (0)
See Also
Categories
Find more on Logical in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!