Skip to content

Instantly share code, notes, and snippets.

@dnadlinger
Created April 29, 2014 12:17
Show Gist options
  • Select an option

  • Save dnadlinger/11398507 to your computer and use it in GitHub Desktop.

Select an option

Save dnadlinger/11398507 to your computer and use it in GitHub Desktop.
function reverse_voltages(data)
result = Array(Float64, size(data))
result[:, 1] = data[:, 1]
len = size(data)[2]
for i in 2:len
result[:, len + 2 - i] = data[:, i]
end
result
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment