• Sign in
  • Sign up 
  • Welcome
  • FAQ
  • Switch to Night Mode
  • Stolen Accounts Recovery 
  • Change Account Password 
  • Vote for Witnesses 
  • Steem Proposals 
  • Developer Portal 
  • Steem Bluepaper 
  • SMT Whitepaper 
  • Steem Whitepaper 
  • Privacy Policy
  • Terms of Service
Homeby Witness Moecki
LoginSign up
You are viewing a single comment's thread from:

RE: Fast Fourier Transform and Programming

  • View the full context
  • View the direct parent
furion (70)in #programming • 6 years ago

You can wrap your code in "```" for readability:

import numpy as np
a = np.array([1.0, 1.0, 1.0, 1.0, 0.0, 0.0, 0.0, 0.0])
print( ' '.join("%5.3f" % abs(f) for f in np.fft.fft(a)) )
6 years ago in #programming by furion (70)
$0.00
    Reply 0