Jonkman Microblog
  • Login
Show Navigation
  • Public

    • Public
    • Network
    • Groups
    • Popular
    • People

Conversation

Notices

  1. Don Romano (alt) (thor@noagendasocial.com)'s status on Thursday, 18-Apr-2019 17:54:31 EDT Don Romano (alt) Don Romano (alt)

    1) Okay, so I now *think* I know how to use transfer functions, i.e. those previously so mysterious "H(s) = foo / bar" things you always find on Wikipedia instead of actual explanations when you're looking for information about audio equalisation filters.

    I knew that s was the frequency, but not much else.

    Solution:

    s can be substituted with jω where j is the imaginary unit and ω is angular frequency.

    The output format is a phasor, from which you can derive an amplitude and a phase.

    In conversation Thursday, 18-Apr-2019 17:54:31 EDT from noagendasocial.com permalink
    1. Don Romano (alt) (thor@noagendasocial.com)'s status on Thursday, 18-Apr-2019 18:06:34 EDT Don Romano (alt) Don Romano (alt)
      in reply to

      2) More specifically, any constant or coefficient x in a transfer function H(s) that isn't imaginary is taken as a complex number x+0i. In other words, you turn everything into complex numbers. Any arithmetic is taken to be complex arithmetic.

      ω is in radians per second, so ω = 2πf, where f is the frequency in hertz.

      Output x + yi can be taken as a phasor/vector where sqrt(x² + y²) encodes amplitude and atan2(y, x) encodes the phase in radians.

      In conversation Thursday, 18-Apr-2019 18:06:34 EDT from noagendasocial.com permalink
      1. Don Romano (alt) (thor@noagendasocial.com)'s status on Thursday, 18-Apr-2019 18:10:34 EDT Don Romano (alt) Don Romano (alt)
        in reply to

        3) Kind of annoys the hell out of me that math people can't boil stuff down to the essentials. Most documentation for developers is far better than the crap math students have to contend with. If math was a programming language, who the hell would use it? If you think your language has unreadable syntax and bad documentation, try math.

        In conversation Thursday, 18-Apr-2019 18:10:34 EDT from noagendasocial.com permalink
        1. Don Romano (alt) (thor@noagendasocial.com)'s status on Thursday, 18-Apr-2019 18:19:36 EDT Don Romano (alt) Don Romano (alt)
          in reply to

          4) I mean, I basically had to spend half a day to figure out the math I needed to learn how to calculate a transfer function and make a Bode plot from it, and I'm a stubborn motherfucker.

          I'm trying to use mathy variable names in my code but I'm very tempted to just use verbose names instead because my source code is damn near unreadable with all these one-letter variable names, much like the math it came from...

          In conversation Thursday, 18-Apr-2019 18:19:36 EDT from noagendasocial.com permalink
          1. Don Romano (alt) (thor@noagendasocial.com)'s status on Thursday, 18-Apr-2019 18:26:01 EDT Don Romano (alt) Don Romano (alt)
            in reply to

            5) Mathematicians also like to use confusing words. Take "conjugate", which means to negate the imaginary part of a complex number — a programmer would probably call that an iFlip().

            Also, I kind of agree with Randall Munroe about complex numbers: They're just vectors for people who are too cool for vectors.

            Yes, yes, Euler and Fourier/Laplace transforms, but come ooon, you can write that stuff out as cos/sin and vectors...

            In conversation Thursday, 18-Apr-2019 18:26:01 EDT from noagendasocial.com permalink
          2. Don Romano (alt) (thor@noagendasocial.com)'s status on Thursday, 18-Apr-2019 18:28:24 EDT Don Romano (alt) Don Romano (alt)
            in reply to

            5) Mathematicians also like to use confusing words. Take "conjugate", which means to negate the imaginary part of a complex number — a programmer would probably call that an iFlip().

            Also, I kind of agree with Randall Munroe about complex numbers: If you're too cool for vectors, you use complex numbers.

            Yes, yes, Euler and Fourier/Laplace transforms, but come ooon, you can write that stuff out as cos/sin and vectors...

            In conversation Thursday, 18-Apr-2019 18:28:24 EDT from noagendasocial.com permalink
  • Help
  • About
  • FAQ
  • TOS
  • Privacy
  • Source
  • Version
  • Contact

Jonkman Microblog is a social network, courtesy of SOBAC Microcomputer Services. It runs on GNU social, version 1.2.0-beta5, available under the GNU Affero General Public License.

Creative Commons Attribution 3.0 All Jonkman Microblog content and data are available under the Creative Commons Attribution 3.0 license.

Switch to desktop site layout.