delete more equal rows
I must delete two or more equal rows in a 2coloumn matrix example : 1--2 1--2 1--3 5--8 5--8 6--7 6--7 7--8 7--8 8--9 I want this output: 1--3 8--9 I try to use unique, but it leaves one of equal rows unique output: 1--2 1--3 5--8 6--7 7--8 8--9 thanks! ... 6 Apr 2010 07:29
delete more equal rows
I must delete two or more equal rows in a 2coloumn matrix example : 1--2 1--2 1--3 5--8 5--8 6--7 6--7 7--8 7--8 8--9 I want this output: 1--3 8--9 I try to use unique, but it leaves one of equal rows unique output: 1--2 1--3 5--8 6--7 7--8 8--9 thanks! ... 27 Mar 2010 21:04
What is the proper way to read/write sparse matrix?
Hi All, I have a simple piece of code to work with two sparse matrices: read each column of one matrix and write values to another sparse matrix. I read from column 1 to end and write from column 1 to end. I may have 1e5 columns to read. The speed is pretty quick to handle the first several thousands and then th... 28 Mar 2010 03:36
recode strings en masse
Dear forkandwait w! Is there a quick way to recode a cell array of strings, preferably using a 2xN cell array of pattern/ code pairs? For example: a = {'aa', 'ab', 'cc', 'aa'} recode (a, {'a.*', 'A'; 'c.*', 'C'}) => {'A', 'A', 'C', 'A'} Maybe there is a nice way to do this with cellfun, b... 27 Mar 2010 21:04
recode strings en masse
Is there a quick way to recode a cell array of strings, preferably using a 2xN cell array of pattern/ code pairs? For example: a = {'aa', 'ab', 'cc', 'aa'} recode (a, {'a.*', 'A'; 'c.*', 'C'}) => {'A', 'A', 'C', 'A'} Maybe there is a nice way to do this with cellfun, but there might be an idiom or functio... 27 Mar 2010 18:49
eigen value in finite field
hi i want ask you if you can help me with make function that extensions to the binary field finite field GF(2^m).. this function is like function Y=generation (N,X) N is number of bits X is the generation polynomials function it is like galois field the output of y=generation (8,[1 0 1 1]); 000 001 010 100 ... 27 Mar 2010 17:39
HSV and HSL
hi i cannot convert my image into hsv after reading it . i want to remaove the brigthness of my image . plz kindly help me. ... 27 Mar 2010 17:39
need help in simulink qam mod in rayleih channel
i build a simulink blocks in order to make a simple QAM modulation using the Rayleigh fading channel. but the problem that there is no delay . i used error rate correlation to compute the delay, but it always = 0 also , i find that the signal is inverted after the channel and this gives me high error rate. so if... 27 Mar 2010 17:39
need help in simulink qam mod in rayleih channel
i build a simulink blocks in order to make a simple QAM modulation using the Rayleigh fading channel. but the problem that there is no delay . i used error rate correlation to compute the delay, but it always = 0 also , i find that the signal is inverted after the channel and this gives me high error rate. so if... 27 Mar 2010 17:39
path of minimization
Hello Matlab experts here, I have a general question: When one uses Matlab functions for minimization (eg, fminsearch, fminunc, lsqnonlin, etc.), is there any way to store the information of the path of minimization? (that is, the points visited by the algorithm from the starting positions to the terminating positio... 29 Mar 2010 08:01