Skip to content
Matthias Leubin edited this page Dec 7, 2016 · 36 revisions

RocketLogger Matlab Code

Data Class (rld)

  • Read RLD file:obj = rld(file_name, decimation_factor)
  • Plot channels: plot(obj, channel, absolute_time, pretty_plot)
  • Get channel names: names = get_channels(obj)
  • Get channel data: values = get_data(obj, channel)
  • Get time of samples: timestamps = get_time(obj, absolute_time)
  • Merge current channels: merged_obj = merge_channels(obj)

Calibration Class (rl_cal)

  • Write calibration file: write_file(obj, filename)
  • Read values from calibration file: [ obj ] = from_file( filename )
  • Fix calibration signs: fix_signs(obj)
  • Calibrate: [obj] = calibrate( v_rld, i1l_rld, i1h_rld, i2l_rld, i2h_rld, plotPareto )

Examples

Import and Plot Measurement Data

data = rld('data.rld');
% plot all analog channels
data.plot();
% merge current channels and plot
merged_data = data.merge_channels();
merged_data.plot('currents');
Clone this wiki locally