unifpdf - The standard uniform distribution has A = and B =...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
unifpdf Continuous uniform probability density function Syntax Y = unifpdf(X,A,B) Description Y = unifpdf(X,A,B) computes the continuous uniform pdf at each of the values in X using the corresponding lower endpoint (minimum), A and upper endpoint (maximum), B . X , A , and B can be vectors, matrices, or multidimensional arrays that all have the same size. A scalar input is expanded to a constant array with the same dimensions as the other inputs. The parameters in B must be greater than those in A . The continuous uniform distribution pdf is
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Background image of page 2
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: The standard uniform distribution has A = and B = 1 . Examples For fixed a and b , the uniform pdf is constant. x = 0.1:0.1:0.6; y = unifpdf(x) y = 1 1 1 1 1 1 What if x is not between a and b ? y = unifpdf(-1,0,1) y = See Also pdf , unifcdf , unifinv , unifstat , unifit , unifrnd Uniform Distribution (Continuous) Provide feedback about this page unifit unifrnd 1984-2009 The MathWorks, Inc. Terms of Use Patents Trademarks Acknowledgments...
View Full Document

Page1 / 2

unifpdf - The standard uniform distribution has A = and B =...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online