Lets say I have a discrete function e^n. For n=0 to n=100, I can plot it in MATLAB as an array or in any other language.

What if I want to see it on oscilloscope as voltage from Arduino. I mean like a function generator which outputs given samples as voltage consecutavely.