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.

Asked:

on 29 Sep 2022

Answered:

on 29 Sep 2022

Community Treasure Hunt

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

Start Hunting!