Thread Subject: Interclass comparisons Matlab?

Subject: Interclass comparisons Matlab?

From: Ashvin

Date: 10 Jul, 2009 05:56:31

Message: 1 of 2

Interclass comparisons Matlab?
Hi,

Just wanted to know if there is a way to approach this:

I have several templates,

say: template 1,2,3,4,....,100

I would like to compare template 1 with the rest of the 99, then
automatically go to template 2 with the other 99 (including template 1
from the first section), template 3 with the rest of the 99, etc,

Any suggestions how to implement this in Matlab

Many Thanks,

Subject: Interclass comparisons Matlab?

From: Shanmugam Kannappan

Date: 10 Jul, 2009 06:08:01

Message: 2 of 2

Ashvin <nkmah2@gmail.com> wrote in message <bcdf1c0f-9627-4853-9d20-a9aa4a51cfc2@v15g2000prn.googlegroups.com>...
> Interclass comparisons Matlab?
> Hi,
>
> Just wanted to know if there is a way to approach this:
>
> I have several templates,
>
> say: template 1,2,3,4,....,100
>
> I would like to compare template 1 with the rest of the 99, then
> automatically go to template 2 with the other 99 (including template 1
> from the first section), template 3 with the rest of the 99, etc,
>
> Any suggestions how to implement this in Matlab
>
> Many Thanks,

Hi!
Use for loop...
Ex:

for i=1:100
 for j=1:100
   if i==j
     continue
  else
     Compare
  end
 end
end

Hope it helps....
Shan.......

Tags for this Thread

Add a New Tag:

Separated by commas
Ex.: root locus, bode

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

rssFeed for this Thread
 

MATLAB Central Terms of Use

NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content. Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available via MATLAB Central. Read the complete Terms prior to use.

Contact us at files@mathworks.com