Hi
I am facing a trouble in locating the second maximum peak in FFT spectrum. I used the following to find the maximum peak but was not able to find the second peak..
X = abs(fft(Ei));
X = fftshift(X);
Peak = find(X == max(X));
Any help is appreciated !!!
Hi Guys
Here is a challenging trick for you:
Suppos that you have this star.m file containg an ODE with the needed parameters:
function dC = star(t,C)
dC = zeros(1,1);
Gn=1;
N=2;
f=3;
w=4;
dC = (1/2)*Gn*N*C(1)+f*cos(w*t-C(1))
Now to solve this equation you simply create the following file:
t...
Hi guys
I am ploting a 3D trajectory using plot3 function. For the sake of clarification, I need to plot the shadow (projections) of the trajectory on the three planes (xy,yz,xz) on the same graph.
Any idea or suggestions???
Help is greatfully appreciated.
Star