Info

Questa domanda è chiusa. Riaprila per modificarla o per rispondere.

slice sampler with constraints

2 visualizzazioni (ultimi 30 giorni)
ektor
ektor il 5 Giu 2020
Chiuso: MATLAB Answer Bot il 20 Ago 2021
Dear all,
I have a function
logPDF=@(x) logpost_1(x, y, lam0, gam0);
x1 = slicesample(gam,kk,'logPDF',logPDF);
where this function is under the constraint x+lam0<0.999
Is there a way of imposing this restriction on the above function?
Best

Risposte (0)

Questa domanda è chiusa.

Community Treasure Hunt

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

Start Hunting!

Translated by