Solving a linear equation

Cramer’s Rule and Gaussian Elimination are two good, general-purpose algorithms (also see Simultaneous Linear Equations). If you’re looking for code, check out GiNaC, Maxima, and SymbolicC++ (depending on your licensing requirements, of course). EDIT: I know you’re working in C land, but I also have to put in a good word for SymPy (a computer … Read more

cocktail party algorithm SVD implementation … in one line of code?

I was trying to figure this out as well, 2 years later. But I got my answers; hopefully it’ll help someone. You need 2 audio recordings. You can get audio examples from http://research.ics.aalto.fi/ica/cocktail/cocktail_en.cgi. reference for implementation is http://www.cs.nyu.edu/~roweis/kica.html ok, here’s code – [x1, Fs1] = audioread(‘mix1.wav’); [x2, Fs2] = audioread(‘mix2.wav’); xx = [x1, x2]’; yy … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)