« first day (310 days earlier)      last day (2933 days later) » 

12:00 AM
@rayryeng Nice picture! And drawnow was a nice addition, to see it growing
3
A: Creating fractal image in a plot MATLAB but the plot is empty

rayryengYup... it's your if statements, but there are more issues with your code though but we will tackle those later. Let's first address your if statements. If you want to compare in a range of values for examples, you need use the AND (&&) statement. In addition, you should place your plot code ou...

 
@Luis Mendo do you have any idea about The recursive least-squares algorithm
for convolutive mixtures
 
12:24 AM
@KarGar No, sorry. I have a general idea what LS is, but not the specific algorithm. And I don't know what a convolutive mixture is either
@AndrasDeak So that was the word :-)
@Suever Every page? Oh my. I'm verbose as Java when writing documentation... sorry :-)
 
1:27 AM
@LuisMendo oooo I really like the idea of index rounding.
Maybe verbose but definitely less repetitive than Java!
 
 
2 hours later…
3:01 AM
I actually wonder whether a character encoding is necessary. Couldn't you just map the numbers 0-255 each to a MATL command and be done?
 
 
4 hours later…
7:29 AM
@LuisMendo yes!:D
 
 
2 hours later…
9:50 AM
@LuisMendo see what you think: github.com/DavidJArnold/MATL/commit/… I've tried to leave enough comments in the commit thing, hopefully it makes sense
Looking promising I'd say, certainly avoids weird characters (using either your base-256 method or my encoding thing).
I really wish I knew anything about encoding, I don't even know what stuff is called lol so I've made up my own names
 
10:29 AM
@David Wow, that's a lot of work, thanks for the effort! I hope I will be able to take a look at this soon. This weekend I want to finish the new release with the new meta-function & and a bunch of other changes I want to include. The description will appear on GitHub as usual.
If this encoding thing ends up being included in MATL, I need to previously ask on Meta if it's acceptable. I want to prepare that question well, and argue that other languages do a similar thing (or so I think --- TI-BASIC, assembler/machine code etc), because my previous proposal wasn't well received.

Also, some tests would have to be done to see if it's better to encode "atoms" (e.g. consider `Xg` as a unit in the encoding) or characters (i.e. from base 95 to base 256). I have a feeling that the latter will give more compression. Which of those does your code do?
 
 
3 hours later…
1:04 PM
@rayryeng lol the part when he talks about killing his mom for money was the best
 
1:36 PM
0
Q: i want a function to calculate the complete matrix for binary matrix?

user6296647if i have (rows,columns) matrix M like this M = [ 1 1 0 1 0 1 0 1 1 0 1 0 1 0 1 0 1 0 0 1 0 1 0 1 1 1 0 1 1 1 ] then i found this two Matrix M_row and M_col M_row = [ 2 1 1 2 1 0 1 1 1 1 1 1 2 3 0 ] ...

did he delete his last question?
 
1:50 PM
Hi I have a question : I want to separate convolutive mixture I do like this ; [soundconv,Fs]=audioread('\\tiger.student.lth.se\elt11aab\Windows\Desktop\ljud\conv_mix.wav'); % 2*55000 matrix

soundco=soundconv';
A=[0.2555 0.60; 0.0712 0.05]
x1=filter(A(1,1),1,soundco(1,:))+filter(A(1,2),1,soundco(2,:));
x2=filter(A(2,1),1,soundco(1,:))+filter(A(2,2),1,soundco(2,:));
x=[x1; x2];
Ry=x*x'; %to make 2*2 matrix
Am I doing right?
 
does it give you the right answer?
 
There are other steps to do and I did them all but my separation matrix is not good
when I listen to separated sounds I do not hear a good separation
here is my code in matlab
[soundconv,Fs]=audioread('\\tiger.student.lth.se\elt11aab\Windows\Desktop\ljud\conv_mix.wav'); % 2*55000 matrix

soundco=soundconv';
b=0.9999999999999999999999999999999999999999999; % konstant
% A=eye(2);
% A=rand(2)
A=[0.2555 0.60; 0.0712 0.05]
x1=filter(A(1,1),1,soundco(1,:))+filter(A(1,2),1,soundco(2,:));
x2=filter(A(2,1),1,soundco(1,:))+filter(A(2,2),1,soundco(2,:));
x=[x1; x2];
% xx=A*x;
Ry=x*x'; % för att göra en 2*2 matris
% Ry=Ry/55000; % dividera med 55000 för att höja upp ljudets volym
@excaza do you have any idea ?
 
no
 
@excaza is there any other commando instead of filter that I use in the code ?
 
I don't know
 
2:01 PM
@excaza maybe I will get a better separation if I change filter to another commando
@excaza ok thank you man
 
@KarGar Post an actual question please.
This chat is for talking about issues that aren't appropriate for StackOverflow questions. If it's a question you're seeking an answer for, post an actual question.
 
@KarGar scab bap did diddly dap do diddly wap bit bittily doopity
 
@rayryeng yes of course ...
@rayryeng I have to implement this algorithm in side 259 cs.helsinki.fi/u/ahyvarin/papers/bookfinal_ICA.pdf
 
@rayryeng I have a convolutive mixture of two sounds and I have to separate them
 
2:15 PM
5 mins ago, by rayryeng
@KarGar Post an actual question please.
 
@rayryeng :D
 
@rayryeng The question in swedish and it says that I have to implement that algorithm in side 259 ,,I did separate the instantaneous mixture and I succeeded but not with the convolutive mixture
in convolutive mixture I have to do filtering
but my filtering is not good
 
@Karly Garlic it's pretty obvious that nobody has an answer, so make a stack overflow question
 
@KarGar I'm not familiar with the theory regarding this question and I honestly can't be bothered to read the part of the textbook that does.
 
2:20 PM
@ballBreaker Garlic ????
 
I apologize but I can't help you.
@ballBreaker asshole lol
 
@rayryeng thanks man
 
Sorry I've been eating a lot of Gar Par fries lately (Garlic Parmesan)
So naturally I figured Gar = Garlic
 
and did you have fun with someone named Karly?
 
2:33 PM
nope haha
don't think I ever have, surprisingly
 
 
1 hour later…
4:02 PM
@excaza What's with your dick comment?
@rayryeng if you could also please place more spaces in your code so it would be easier to read that would be great, thanks — excaza 5 mins ago
 
Just showing that your lines could be longer and more error-proof but it doesn't require another answer
:)
 
I don't understand.
 
I'm adding to Crowley's pointless code additions
 
OHHH
LOL
I'm really sorry. I didn't realize you were joking.
Yeah you noticed that eh? His stupid commentary was pointless.
 
 
1 hour later…
@TroyHaskin I've seen at least three questions like that over the last couple of weeks
Why do people think there's a faster way than logical indexing?
 
Are benchmarking questions off-topic on SO?
 
Nah I don't think so.
Have you seen the post on the fastest way to initialize memory? That's a benchmarking post.
50
Q: Faster way to initialize arrays via empty matrix multiplication? (Matlab)

blaI've stumbled upon the weird way (in my view) that Matlab is dealing with empty matrices. For example, if two empty matrices are multiplied the result is: zeros(3,0)*zeros(0,3) ans = 0 0 0 0 0 0 0 0 0 Now, this already took me by surprise, however, a quick search go...

And it also falls into the tag IMHO.
 
@rayryeng That's ridiculous and weird.
@rayryeng Makes sense.
 
@TroyHaskin I know lol.
Which is why you'll see a lot of users from here allocate arrays in the most ridiculous way
matrix multiplication with empty... or doing A(n,n) = 0; when A wasn't allocated.
 
5:21 PM
@rayryeng Good thing I never have to create dense matrices of that size. #Sparsify
 
That post above was what started it all.
@TroyHaskin YES!
 
@rayryeng I initialize A(n,n) = 0 once I found out it's faster and I also like the aesthetic more than making a function call.
But I guess it isn't faster since the overhead is delayed until use ... I need to make a change to all of my initializers now. Fuck.
 
6:04 PM
hehehe yeah
 
 
1 hour later…
7:31 PM
@Suever Hey what happened to that DxMobile dude?
He's pinging me asking about how to contact you in other ways because you haven't answered lol. Is this guy bad news?
 
7:57 PM
This code seriously needs to go to SO hell
0
Q: Matlab process all video files in directory

user350426AM trying to process all mp4 files in directory using matlab. Any help on what am doing wrong much appreciated. for k = 1:count readerobj = VideoReader(mp4Files(k).name); fprintf('Processing %s\n', readerobj); myfunction(readerobj, resDir, 50, 66, 0.4, 0.05, 0.9); end

1. No error described
2. Code is incomplete
 
well, he didn't say there was an error :p
 
I figured there was an error because he says he's "doing something wrong" lol
usually when someone says that, there is some error.. .whether there's a blatant exit error, or a mismatched output
 
8:09 PM
"file not found"
that's my guess
 
 
3 hours later…
11:22 PM
@LuisMendo Cheers! Yes, we will have to think about it quite carefully before doing anything public. Basically my "character encoding" defines a cell array of 256 strings, and the i-th entry in the array corresponds to the i-th string., so you have 256 one-byte strings available.
The other method "base encoding" converts from nase 95 to base 256, for a ~18% reduction in size basically always.
With the character encoding you can get 50% reduction (if the MATL function is all two-character commands that are in the array of strings). You can also get no compression if there are no two-character strings that appear in the array of strings. I think it will be shorter more often for real programs, but I'm not sure, it would be nice to have a sample of realistic programs.
Currently I have MATL taking 3 types of input, normal, and with 2 encodings. I think this could be automated if we can find another way of storing files. At the moment you can check whether the MATL program is a string or an array of uint8's, and decode the file or not before running it.
If you could get the different encodings to be stored differently enough to detect, you could leave the encodings in and then depending on what is best you can give the code in a particular format that gets automatically converted to a regular string. I'll keep thinking about it :) That's enough spam
 

« first day (310 days earlier)      last day (2933 days later) »