plot blues

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

plot blues

John Utz-3
Hi everybody!

        Can anybody tell me what I am doing wrong here?:
octave:5> plot (fft(real(cos(0:1:16))))

gnuplot> plot "/var/tmp/tmp.d19569" title "line 1"
                                    ^
         line 0: bad data on line 4

  Help will be greatly appreciated!

                        tnx!

                                john
*******************************************************************************
 John Utz [hidden email]
        idiocy is the impulse function in the convolution of life


Reply | Threaded
Open this post in threaded view
|

Re: plot blues

L Jonas Olsson
You can try:

plot([imag(fft(real(cos(0:1:16)))); real(fft(real(cos(0:1:16))))]')


Not very elegant, but works.

Jonas