How to generate an exponential random variable parameter 1?

I'm new using matlab, and I don't know how to generate N=1000 realizations of an exponential random variable parameter 1 as part of a project. If someone knows about a command to do it, it'd be really helpful. Thanks.

Preguntada:

el 29 de Sept. de 2022

Respondida:

el 29 de Sept. de 2022

Community Treasure Hunt

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

Start Hunting!

Translated by