Answer the question
In order to leave comments, you need to log in
How to plot the resulting function in matlab?
There are three functions:
f(1) = 5sin(2*pi*t)+1; t<τ
f(2) = 2.5(2/t+1); τ<=t<=2τ
f(3) = -2.5(2*t-1); t>2τ
τ - tau;
How to write it down in matlab and build a graph from the resulting function? Sorry for the noob questions, just need to learn at the pace and do some work :)
Answer the question
In order to leave comments, you need to log in
Here is an example of constructing parametric functions:
t= linspace (-30,-1.6);
X= ((3*t) ./ (1+t.^3);
Y= ((3*t.^2) ./ (1+t.^3));
plot(X, Y)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question