An experiment was conducted in MATLAB to generate an exponential signal. The program prompts the user to enter the length of the sequence and the value of a. It then calculates the exponential function exp(a*t) for t from 0 to the input length and plots the resulting signal. The experiment was run with a sequence length of 7 and a value of 1, successfully generating the exponential signal as observed in the plot.