matlab code for mixture help

2 views (last 30 days)
mutah
mutah on 14 Nov 2013
Edited: mutah on 14 Nov 2013
I have this code
mixtrue.dist='Exponential';
mixtrue.K=2;
mixtrue.weight=[0.1 0.9];
mixtrue.par=[1 10];
data=simulate(mixtrue,1000);
data.Strue=data.S;
data=rmfield(data,'S');
dataplot(data)
But i want to change the data given from simulate mixture i.e(data=simulate(mixtrue,1000))by
data I will insert .
How can I do this ?

Answers (0)

Categories

Find more on Statistics and Machine Learning Toolbox 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!