Changes between Version 17 and Version 18 of Tutorials/k0SDR/Tutorial05


Ignore:
Timestamp:
Jun 15, 2015, 10:39:25 PM (9 years ago)
Author:
stojadin
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Tutorials/k0SDR/Tutorial05

    v17 v18  
    124124omf exec experiment.rb
    125125}}}
     126
     127When the experiment is finished, the receiver will save the results in a ''file'' located at the ''/'' directory. The file can then be transferred to a local machine for further processing. For example, the results can be plotting using a simple octave script shown below:
     128
     129{{{
     130w = dlmread('file', ' ', 10, 1);
     131
     132i = 1;
     133while (i <= size(w,1))
     134  if (max(abs(w(i, :))) == 0)
     135    w(i,:) = [];
     136  end
     137  i = i + 1;
     138end
     139imagesc(10*log(w/1000.0))
     140}}}
     141
     142For the described experiment, octave will then produce the image shown below.
     143
     144[[Image()]]