

Hallo zusammen\r\n\r\nich habe in scilab eine fft gemacht und m\xf6chte sie in einem contourf 3d \r\nplot plotten. als x-Achse soll die Anzahl der Flaschen pro h aufgetragen \r\nwerden, die bei 2500 st\xfcck pro h liegt. Als y Achse soll die Frequenz \r\naus der fft aufgetragen werden und in z Richtung sollen die absolut \r\nwerte aus der fft aufgetragen werden.\r\n\r\num das Projekt vll besser zu verstehen wollte ich noch beif\xfcgen, dass es \r\nsich um eine Flaschentransportmaschine handelt bei der eine \r\nSchwingungsmessung gemacht wird und der komplette Drehzahl Bereich \r\ndurchgefahren wird.\r\n\r\nleider habe ich keine Ahnung wie ich dort rangehen soll.\r\n\r\nfunction z=peaks(x, y)\r\nx1=x(:).*.ones(1,size(y,'*'));\r\ny1=y(:)'.*.ones(size(x,'*'),1);\r\nz = (3*(1-x1).^2).*exp(-(x1.^2) - (y1+1).^2) ...\r\n - 10*(x1/5 - x1.^3 - y1.^5).*exp(-x1.^2-y1.^2) ...\r\n - 1/3*exp(-(x1+1).^2 - y1.^2)\r\nendfunction\r\n\r\nfunction z=peakit()\r\nx=-4:0.1:4;y=x;z=peaks(x,y);\r\nendfunction\r\n\r\nz=peakit();\r\n\r\nlevels=[-6:-1,-logspace(-5,0,10),logspace(-5,0,10),1:8];\r\nm=size(levels,'*');\r\nn = fix(3/8*m);\r\nr = [(1:n)'/n; ones(m-n,1)];\r\ng = [zeros(n,1); (1:n)'/n; ones(m-2*n,1)];\r\nb = [zeros(2*n,1); (1:m-2*n)'/(m-2*n)];\r\nh = [r g b];\r\nxset('colormap',h);\r\nxset('fpf',' ');\r\nclf();\r\ncontourf([],[],z,[-6:-1,-logspace(-5,0,10),logspace(-5,0,10),1:8],0*ones \r\n(1,m))\r\n\r\nxset('fpf','');\r\nclf();\r\ncontourf([],[],z,[-6:-1,-logspace(-5,0,10),logspace(-5,0,10),1:8]);\r\n\r\ndas ist der code den ich gefunden habe, leider schaffe ich es nicht die \r\nDaten von meiner fft usw. einzuf\xfcgen.\r\n\r\nf\xfcr eure Hilfe bin ich sehr dankbar.
Scilab


Hallo zusammen;
ich habe in scilab eine fft gemacht und m\xf6chte sie in einem contourf plot darstellen.
\r\nAls x-Achse soll die Anzahl der Flaschen pro h aufgetragen werden,die bei 2500 st\xfcck pro h liegt.Als y Achse soll die Frequenz aus der fft aufgetragen werden und in z-Richtung sollen die Absolut werte der fft aufgetragen werden.
Um das Projekt vll besser zu verstehen wollte ich noch beif\xfcgen, dass es sich um eine Flaschentransportmaschine handelt bei der eine Schwingungsmessung gemacht wird und der komplette Drehzahl Bereich der Anlage durchgefahren wird. Leider habe ich bis jetzt keine Ahnung wie ich den plot durchf\xfchren soll und wie es mir gelingt die Daten dort einzubinden.
\r\nf\xfcr eure Hilfe w\xe4re ich sehr dankbar.\r\n
\r\n


sorry for the wrong language.
Hello,
in my Company i have to do a Vibration measurement. I get all messdata in a Special Programm and Import it in scilab. Then i will plot the messdata in contourf plot in scilab. I did a fast Fourier Transformation and take the command "abs" to get the absolut valuse (Amplitudes).
Now I have the Problem, i really don\xb4t know how i have to do this.
Which commands i Need for this plot, when i want to have the number of the bottle at the x-Axis, and the frequenzy of the fast Fourier Transformation on the y-Axis.
In the z-Axis i want to have the amplitudes from the fast Fourier Transformation.
the value in x -Axis Shows us the Speed of the machine maximal Speed is 2500 bottles per hour .
the value in the y - axis shoult reach from Zero Hz up to 50 Hz.
i\xb4m sorry for my not so good english
max
plot3d, surf and mesh functions are often used. Let me know if I've understood your doubt correctly.
Login to add comment


31-03-16, 2:26 p.m. shamika
Login to add comment