MATLAB: How to plot exponential function exponentialmatlab function hello! so i am kinda confused with how to change this to matlab code, because i've tried exp*(-1000*|t|) still not working pls help me! thank you! x(t)=exp(-1000|t|) Best Answer syms tx=exp(-1000*abs(t))fplot(x) Related SolutionsMATLAB: How to make the vectors the same lenght to plot ? plot (t,z) Your code hasf= exp(-2*t);t= 0:0.1:1.5;which uses the old t, t= [0:1/Fs:1.5]; to create f, and then changes t to a different length. Reverse the order of those two lines. MATLAB: Plotting the magnitude and phase of a piecewise fuction syms xy = piecewise(x<-1, sym(-j*(3/2)*exp(pi/4)), x>1, sym(j*(3/2)*exp(pi/4)), 0) figurefplot(abs(y)) title('Magnitude plot') figurefplot(angle(y))title('Phase plot') Related QuestionPlot exponential graph of the given equationHelp!! I’m trying to plot a function where the output changes with different values of the array. the for loop works, I can see the values changing. I just have trouble with plotting it. I get a graph with nothing in it! any help is appreciated!
Best Answer