In the gym, this is usually performed with a leg press machine, but the exercise can easily be done with an elastic resistance band available from any sports shop.
Sit in a dining chair with a firm back, place the fold of the band under the sole with the two free ends in the hands. Lift the foot to the level of the chair seat, adjust the grip on the elastic, and then straighten out the leg, still keeping it at the level of the chair seat. Repeat.
Leg Press vs. Smith Machine: Quadriceps Activation and Overall Perceived Effort Profiles. Sarabon N, Panjan A, Rosker J and Fonda B. J Sports Sci Med. 2013 Sep; 12(3): 431–438.