Community Profile

Contact

Professional Interests: MIMO Radar

Top 10% contributor

To extract only the upper triangular numbers into a column vector, you could use: Aupper = A(triu(ones(size(A)))==1); I ...

0

Answered 2 years ago

This is brilliant code. Is there a simple way to extend it for comparison of vectors? That is, given two matrices, A and B (whe...

63595 views

Responded 5 years ago

I copied and pasted your code (but had to remove the *5 on the dimensions to avoid Out of Memory errors) and KronProd performs s...

3801 views

Responded 3 years ago

Thanks, I had no idea that ctranspose would be such an important issue. I'll look back at my problem now and will try to convert...

I cannot repeat your test, as I get an "Out of Memory" error. Furthermore, I require that A1 and A2 change on each iteration. Th...

For my tests, I had: N1 = 3; N2 = 4; Q1 = 180; Q2 = 63; If I increase N1 and/or N2, the improvement (due to KronProd) decrease...

Sorry, please disregard my last post. I repeated for 1000 iterations instead of 1 and I now get: My original loop: 29.3665 secs...

Thanks very much for these suggestions. Perhaps I am doing something wrong -- while I am getting the correct results numerically...

I should add that X is always square complex.

I am frequently faced with problems where I need to find the norm (squared) of row vectors having the following structure: A(:,...

Posted 3 years ago

Yes, using multiple loops was actually my starting point, but then I removed the loops in an attempt to speed up execution. This...

3004 views

I need to perform element-by-element multiplication between two "tiled" matrices (i.e. where relatively few unique values are re...