help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

oct-file and cell


From: Bertrand Roessli
Subject: oct-file and cell
Date: Mon, 30 Mar 2009 12:17:29 +0200

Hello,

I am trying to learn how to write oct-files and I need to extract the
content of the cell array shown below. 
I just do not find the proper way to extract the information contained
in the cell and put that in arrays or matrices, etc. 

If somebody could help, I would greatly appreciate.

Thank You, Bertrand Roessli

ion_cell =

{
  [1,1] =  7
  [1,2] =
  {
    as =  7.2207
    bs =  8.4610
    cs =  5.6609
  }
  [1,3] =
  {
    ion = ER
    bd =  0.77900
    x =  0.13658
    y =  0.17096
    z = 0
    B =  0.36700
    occ =  0.50000
    x_par = N3
    y_par = N4
    z_par = 0.00000
    B_par = N16
    occ_par = 0.50000
  }

  [1,4] =
  {
    ion = MN
    bd = -0.37300
    x = 0
    y =  0.50000
    z =  0.26053
    B =  0.36300
    occ =  0.50000
    x_par = 0.00000
    y_par = 0.50000
    z_par = N5
    B_par = N17
    occ_par = 0.50000
  }
...





reply via email to

[Prev in Thread] Current Thread [Next in Thread]