Element extraction
- To: mathgroup at smc.vnet.net
- Subject: [mg19579] Element extraction
- From: Mark Lawrence Storch <mscc+ at andrew.cmu.edu>
- Date: Sat, 4 Sep 1999 01:34:20 -0400
- Organization: Doctoral student, Materials Science and Engineering, Carnegie Mellon, Pittsburgh, PA
- Sender: owner-wri-mathgroup at wolfram.com
Hello, I am having a bit of trouble trying to extract elements out of nested lists. I have an X x Y array where each element of the array is a 3x3 matrix. I am trying to make density plots of each component. For example, I would like to plot the 1,1 components of each element of the larger array. I have tried the following: Array[g[[i,j][[a,b]],{i,Dimensions[g][[1]]},{j,Dimensions[g][[2]]}] where I am trying to get the a,b component This does not work, and I am not seeing exactly why not. I am hoping someone can point out my error or suggest a way to extract the lists I need. Thank you, Mark Storch Carnegie Mellon University Department of Materials Science
- Follow-Ups:
- Re: Element extraction
- From: "Wolf, Hartmut" <hwolf@debis.com>
- Re: Element extraction