Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations waross on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: Star1976
  • Content: Threads
  • Order by date
  1. Star1976

    Finding the second peak

    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 !!!
  2. Star1976

    Challenging trick

    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...
  3. Star1976

    Evil Shadow

    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
  4. Star1976

    crazy loop

    Hi Guys Have a look at the following simple matlab code: x=[1;2;3;4;5;6;7;8;9;10]; y=[5;4;3;6;7;8;5;4;3;2]; z=[1;2;-7;-4;5;-1;4;-9;-6;5] x1 = zeros(m, 1);% initialise output matrix y1 = zeros(m, 1); z1 = zeros(m, 1); for i = 1:m; x1(i) = x(i); y1(i) = y(i); z1(i) =...

Part and Inventory Search