Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

FFT using data from Oscilloscope.--- Matlab

Status
Not open for further replies.

uselessmail

Junior Member level 3
Joined
Mar 6, 2012
Messages
28
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,479
Hi there!
Could someone kindly help me out with the matlab code for finding the frequency spectrum of a pseudo random signal. I've saved the data in CSV format from the Oscilloscope (I've attached the file) and I now need the FFT! I did go through similar posts but the method explained is usually for a set periodic signal.
Any help would be duly appreciated!
 

Attachments

  • 20us_3.zip
    5 KB · Views: 100

Common guys!! Would really appreciate some help here! This ain't my field of expertise! You are free to mock me...!;-)
 

Tell us about your problem; in short clear English sentences. for example
I want to measure sound at a sample rate of 10 kHz, block size 2048 point, 10 bit resolution.
I want to then read this data into Matlab, window the data, calculate the FFT and plot the power=spectrum .........
 

Tell us about your problem; in short clear English sentences. for example
I want to measure sound at a sample rate of 10 kHz, block size 2048 point, 10 bit resolution.
I want to then read this data into Matlab, window the data, calculate the FFT and plot the power=spectrum .........

Hmmm Ok!! I wrote a VHDL program to generate an MLS signal using an FPGA (Xilinx SP601 board). I used a clock of 100 Mhz and I took the output from the SMA connector. Now I fed the output to the oscilloscope and got the required sequence as expected. Then I used the FFT function on the Scope but got a distorted signal and I need to know whether its because of some glitch in the method of FFT calculation in the Scope or whether there's some issue with my program itself.
So I saved the signal data as a csv file from the scope. Now I need to use this data and see how the spectrum in Matlab looks like. Then I can be sure what it is that I need to rectify!

Thanks for replying, by the way!!!
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top