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

Contact us at files@mathworks.com