Re: Merge line segments
% Try this: function l = merge_lines(l1, l2) l = [l1; l2]; p = (l*l'); d = diag(p); d2 = bsxfun(@plus,d,d')-2*p; [~, k] = max(d2(:)); l = l([mod(k-1,4)+1 ceil(k/4)],:); end % Bruno
View ArticleRe: Merge line segments
"Bruno Luong" <b.luong@fogale.findmycountry> wrote in message <kfb5tu$b93$1@newscl01ah.mathworks.com>...> % Try this:> > function l = merge_lines(l1, l2)> l = [l1; l2];> p =...
View ArticleSave variables to memory
I have developed a simulink and stateflow model. I want to save some variable values to memory during simulation and reuse those values in later simulation. How can i do this?
View Articletesting "speaker Identification"
Hello how are you? I'm Abdullah from USM master student, im doing my thesis about bio-metric using speaker identification, I stuck in testing i cannot find any source to help me to do it can you please...
View ArticleSpeaker Identification
 Hello I'm Abdullah master student, im doing my thesis about bio-metric using speaker identification, I stuck in testing i cannot find any source to help me to do it, can you please help me how to do...
View ArticleSpeaker Identification
Hello how are you? I'm Abdullah from USM master student, im doing my thesis about bio-metric using speaker identification, I stuck in testing i cannot find any source to help me to do it can you please...
View ArticleRe: GIVE M ETHE SOURCE CODE FOR VEHICLE DETECTION USING HMM
Jan Simon disgorged this amusing substitute for thought:> Dear Eileen,> >> > GIVE M ETHE SOURCE CODE FOR VEHICLE DETECTION USING HMM> >> why?> > BECAUSE HE WANT'S IT...
View ArticleRe: video steganography
On Mon, 11 Feb 2013 11:21:14 +0000, eng wrote:> hi all please , i want a matlab algorithm for video steganography i'm> interested in data hiding and i want to hide an image inside a video>...
View ArticleRe: pso
On Sat, 09 Feb 2013 17:10:14 +0000, maryam baratzadeh wrote:> hi> > I want the code for article "An Improved Particle Swarm Optimization> for Feature Selection"?> > can not anybody to...
View ArticleRe: How to get p-values from multcompare?
Hi Tom, I agree that it would be highly beneficial if such a modification could be done and I am rather sad that it did not happen so far because I am still an absolute MatLab-beginner and incapable of...
View ArticleRe: Merge line segments
"Peter Bone" <peterbone@hotmail.com> wrote in message <kfb6hv$dqb$1@newscl01ah.mathworks.com>...> > Thanks. That's a nice method for minimising code and works fine, but it's around 6...
View Articlematlab function block
hi, I have a sinsoid wave signal to be sampled every cycle and enter to matlab function block in simulink. in matlab function ,I want to make operation to each cycle during simulation of the model ....
View ArticleHow can I show the result of the fitting in text box?
I have a GUI that fits some data with custom equations. I want to show the result of the fitting process (the equation, the Coefficients and the goodness of the fitting) on a text box in the GUI...
View ArticleRe: Complex Upper Incomplete Gamma Function?
I also need the incomplete gamma function! E.g. to evaluate int sin(q*x)*x^a dx a: real anayltically. The solution is given in terms of the incomplete gamma function with a complex argument. cf....
View ArticleError and handling output (returning a set of values)
I have the `test` function shown below written in `matlab`, and underneath the `test` function you can find other functions that the `test` function uses. Here, I have two points: **1- When I run the...
View ArticleRe: For Loop Problem
"Steven_Lord" <slord@mathworks.com> wrote in message <kfg7j3$enm$1@newscl01ah.mathworks.com>...> > > "Pete " <harri.short@hotmail.com> wrote in message >...
View Articlemodified unique tolerance
I modified unique to be based on a tolerance, d = db ~= 0; --> d = db >= [insert tolerance here, e.g. 1e-6] this seems to work as intended
View ArticleRe: unable to open csv file
On 2/13/2013 5:06 AM, neetesh wrote: ...> The csv file just has numbers ( -ve and + ve ones).> no letters The error you posted before indicated a '\n' didn't fit the pattern. I suspect one or...
View ArticleRe: consolidator help
I modified unique to add a tolerance at line 125 (release 2010b), which seems to work as intended d = db ~= 0; ---> d = db >= 1e-6; % [insert tolerance here, e.g. 1e-6]; any assistance with...
View Article