![]() ![]() And this is an exponential signal related to the given equation. Then we plot a signal using x1 and y1 variable and plot function, plot is an inbuilt function available on Matlab it is plots the data in y1 versus the corresponding values in x1, x-axis is x1 which is varying from -5 to 15 comma y-axis is a function of x1. Then we write an exponential equation using exp function, we take an exp in parenthesis x1 is divided by 4 and these exponential values are assigned to variable y1, the equation is y1 = e x1/4, the value of x1 is varied from -5 to 15 and according to that the different values are assign to y1 variable. Firstly we take a range of axis -5 to 15 with a difference of 0.5, this range we take in an x1 variable. ![]() In this example, we display the exponential signal also using a plot function. Let us see an example related to exponential in Matlab, for exponential we use a Matlab syntax as ‘exp’, exp in parenthesis we take that variable names or we directly take the equation for exponential. Let us discuss examples of Exponential in Matlab. Step 3: then we use a plot statement with appropriate syntax to plot the exponential graph to visualize the exponential data. Step 2: then we use exp to get exponential values of the variable. Step 1: we take variables and assign values. The steps for Exponential plotting of the data using exp and plot statement:. The syntax for Exponential in Matlab is as shown below:įor Exponential plotting of the data, we use exp and plot statements. Hadoop, Data Science, Statistics & others ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |