I want to get the result, not the graph, what to do
1 view (last 30 days)
Show older comments
>> gridx1=-0.25:.05:1.25;
>> gridx2=0:.1:15;
>> [x1,x2]=meshgrid(gridx1,gridx2);
>> x1=x1(:);
>> x2=x2(:);
>> x1=[x1 x2];
>> rng('default')
>> x=[0+.5*rand(20,1) 5+2.5*rand(20,1);
.75+.25*rand(10,1) 8.75+1.25*rand(10,1)];
>> figure
>> ksdensity(x,x1);
I want to get the result or function, not the graph, what to do
2 Comments
Rik
on 17 Apr 2022
Are you maybe looking for one of the output arguments that are listed in the documentation?
Answers (1)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!