photo

Ted


University of Maryland

Active since 2013

Followers: 0   Following: 0

Message

Statistics

All
  • First Review
  • First Submission
  • Thankful Level 3

View badges

Feeds

View by

Submitted


distmod(x,n)
Calculate the "distance" (absolute difference) between x and the nearest multiple of the modulus n.

9 years ago | 1 download |

Question


Quick way to sum array elements based on flag in another array?
Say I have 2 arrays: one with "clean" data, and one that tells me which data gets lost, as indicated by zeros. If an element is ...

9 years ago | 3 answers | 1

3

answers

Question


Is element-wise multiplication or element-wise squaring faster?
I have a matrix A for which I need its individual elements squared. Which of the following is faster? % This... >> B = A .* ...

11 years ago | 1 answer | 0

1

answer

Question


Can arrayfun take multi-dimensional arrays as individual arguments?
% I have a function that takes three arguments, one of which is a vector: [output] = function myfun(x,y,[z1 z2]) % I h...

11 years ago | 4 answers | 0

4

answers

Question


How can I use "symbfact" to speed up several consecutive Cholesky factorizations?
Hi all, I just came across the "symbfact" command. It seems powerful, but I'm wondering exactly how take advantage of it. I n...

11 years ago | 1 answer | 1

1

answer

Question


Why is the inverse of a symmetric matrix not symmetric?!
Hi all, As far as I know, the inverse of symmetric matrix is always symmetric. However, I have a symmetric covariance matrix, c...

11 years ago | 2 answers | 0

2

answers