I see that you want to plot exponential signals using MATLAB.
Since very limited information is provided, I am assuming that your function is as follows: f(t) = k*e^(a*t)
Based on the assumption and provided parameters, the first case with "k=1" and "a=0.35" is expected to exhibit exponential growth, while the second case with "k=1.2" and "a=-0.45" should demonstrate exponential decay. This behavior should be clearly observable in the resulting plots. Please refer to the steps outlined below.
- Generate some sample time steps:
- Calculate first signal using "exp" function for exponentiation:
Calculate second signal using "exp" function for exponentiation:
signal2 = 1.2*exp(-0.45*t);
Plot first signal:
Plot second signal:
You can read more about "plot" and "exp" function from the following documentation links:
I hope this helps!