[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: searching for the elegant code (matrix indexing and more)
From: |
oxy |
Subject: |
Re: searching for the elegant code (matrix indexing and more) |
Date: |
Fri, 24 Jan 2014 07:55:12 +0100 |
hey Markus,
> n = ndims(sig);
> for i = 1:n
> for j = (i+1):n
> figure( (i-1)*n + j );
> clf;
> mesh( 1:dim , 1:dim , permute( sig,[i j (1:n)( (1:n)!=i & (1:n)!=j )]
> )(:,:,1,1,1) );
> xlabel('abcde'(i));
> ylabel('abcde'(j));
> endfor
> endfor
I have to say, you got the very best solution. Great skills!
Thank you very much indeed! You helped me a lot!
... oxy
- searching for the elegant code (matrix indexing and more), oxy, 2014/01/22
- Re: searching for the elegant code (matrix indexing and more), oxy, 2014/01/22
- Re: searching for the elegant code (matrix indexing and more), Juan Pablo Carbajal, 2014/01/22
- Re: searching for the elegant code (matrix indexing and more), Andrei Bobrov, 2014/01/22
- Re: searching for the elegant code (matrix indexing and more), Markus Appel, 2014/01/23
- Re: searching for the elegant code (matrix indexing and more), oxy, 2014/01/23
- Re: searching for the elegant code (matrix indexing and more), Markus Appel, 2014/01/23
- Re: searching for the elegant code (matrix indexing and more),
oxy <=