Fill below function fplot

3 visualizaciones (últimos 30 días)
Joaquin Saldain
Joaquin Saldain el 25 de Jul. de 2018
Respondida: dpb el 25 de Jul. de 2018
How to fill the area below this Beta density, between x=0 and x=0.5.
% fplot(@(x) betapdf(x,a_beta,b_beta),[0 1],'b');
  1 comentario
madhan ravi
madhan ravi el 25 de Jul. de 2018
can you check out area documentation?

Iniciar sesión para comentar.

Respuesta aceptada

dpb
dpb el 25 de Jul. de 2018
Madan's comment amplified...
fnF=@(x) betapdf(x,a_beta,b_beta);
figure
fplot(@(x) betapdf(x,a_beta,b_beta),[0 1],'b');
hold on
x=linspace(0,0.5);
area(x,fnF(x))

Más respuestas (0)

Categorías

Más información sobre Line Plots en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by