generate 11x11x11 symmetric matrix from 6x6x6 matrix
    6 Ansichten (letzte 30 Tage)
  
       Ältere Kommentare anzeigen
    
Hello,
I'm slowly going mad trying to accomplish something I feel is actually rather simple.
I've got a 6x6x6 matrix which I would like to be symmetric around all the principal axes about the point (1,1,1), thus making me an 11x11x11 matrix. Rather than having to do this the long way (and I have quite a few arrays to do this on), is there a quick command that would do this for me, perhaps some combination of fliplr/flipud?
Thanks,
Jim
4 Kommentare
  Jan
      
      
 am 7 Nov. 2012
				And Jose-Luis' question would result in:
 a = [1 2;
      3 4];
 b = [4 3 4;
      2 1 2;
      4 3 4];
You example handles the columns only. But "[6x6x6]->[11x11x11]" implies, that the rows should be handled also. Am I right?
Akzeptierte Antwort
Weitere Antworten (0)
Siehe auch
Kategorien
				Mehr zu Matrices and Arrays finden Sie in Help Center und File Exchange
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!


