Mathematica 9 is now available
Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2012

[Date Index] [Thread Index] [Author Index]

Search the Archive

Dynamic Table

  • To: mathgroup at smc.vnet.net
  • Subject: [mg129062] Dynamic Table
  • From: marco.scarnicchia at gmail.com
  • Date: Tue, 11 Dec 2012 02:25:25 -0500 (EST)
  • Delivered-to: l-mathgroup@mail-archive0.wolfram.com
  • Delivered-to: l-mathgroup@wolfram.com
  • Delivered-to: mathgroup-newout@smc.vnet.net
  • Delivered-to: mathgroup-newsend@smc.vnet.net

Hi,

I have a complex program and now I need to convert a table with dynamic content into a table or matrix with static content:

n = 2;
Parameters = 
 Table[{{PopupMenu[Subscript[\[Theta], 
     i], {0, Subscript[q, i], -2 Pi, -3 Pi/2, -Pi, -Pi/2, Pi/2, Pi, 
      3 Pi/2, 2 Pi}]}, {PopupMenu[Subscript[d, 
     i], {0, Subscript[d, i], Subscript[q, i]}]},
   
   {PopupMenu[Subscript[\[Alpha], 
     i], {0, -2 Pi, -3 Pi/2, -Pi, -Pi/2, Pi/2, Pi, 3 Pi/2, 
      2 Pi}]}, {PopupMenu[Subscript[a, 
     i], {0, Subscript[a, i]}]}}, {i, n}]; Text@
 Grid[Prepend[
   Parameters, {"\!\(\*SubscriptBox[\(\[Theta]\), \(i\)]\)", 
    "\!\(\*SubscriptBox[\(d\), \(i\)]\)", 
    "\!\(\*SubscriptBox[\(\[Alpha]\), \(i\)]\)", 
    "\!\(\*SubscriptBox[\(a\), \(i\)]\)"}], Frame -> All]


Thanks



  • Prev by Date: TrigReduce: controlling the scope
  • Next by Date: Corruption of file
  • Previous by thread: Re: TrigReduce: controlling the scope
  • Next by thread: Corruption of file