Re: [R] How can I draw a 3D diagram (persp) with these Infos

2013-09-24 Thread Pascal Oettli
Hello, This request looks very similar to: http://stackoverflow.com/questions/18982662/showing-a-3d-diagram-in-r http://stackoverflow.com/questions/18913143/non-numeric-argument-error-while-running-fft-on-a-matrix Regards, Pascal 2013/9/25 Babak Bastan > I want to have a 3D diagramm. My Info

[R] How can I draw a 3D diagram (persp) with these Infos

2013-09-24 Thread Babak Bastan
I want to have a 3D diagramm. My Information are: - x:Time - it could be 1:n (integer number) - Y:Frequency ---it could be 1:n like x z:the value of z come from a function *fft_amplitude <- function(x) {sqrt((Re(fft(x)))^2+(Im(fft(x)))^2)}* ** The input values for this function shoul