- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have fixed point complex numbers with 16 bit each for the real and imaginary parts, I shall be used Q2.14 format for each. Although I have found ALTMULT_COMPLEX which can multiply complex numbers and I still need to figure out how to multiply the complex numbers when using this; is there an IP block that can calculate the magnitude of a complex number? I guess I shall have to use multipliers to do the squaring, with adder followed by a sqrt block to get the magnitude. Is this the only way?
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I haven't heard of one so I think you'll need to perform the two multiplies and sqrt() manually in your implementation.
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page