I have a 1000X6 table, where in each row the first three columns are dependent on the second three. I then make smaller tables of 1000X2 from these first three columns and basically ListPlot
the τ
s. Here's the code:
FullTab1 = Table[{Subscript[τ, extra], Subscript[τ, mix1],
Subscript[τ, mix2], u, Subscript[ϕ, 1], Subscript[ϕ, 2]}
/. {Subscript[ϕ, 2] -> Subscript[ϕ, 1] - u^2/(8 Subscript[ϕ, 1]^2)}
/. {Subscript[ϕ, 1] -> (RandomReal[{0.5, 1}])*Exp[I*RandomReal[{0, 2*Pi}]],
u -> (RandomReal[{0.001, .1}])*Exp[I*RandomReal[{0, 2*Pi}]]}, {i, 1, 1000}]
Smtabext = Table[{Re[FullTab1[[i, 1]]], Im[FullTab1[[i, 1]]]}, {i, 1, 1000}]
Smtabmix1 = Table[{Re[FullTab1[[i, 2]]], Im[FullTab1[[i, 2]]]}, {i, 1, 1000}]
Smtabmix2 = Table[{Re[FullTab1[[i, 3]]], Im[FullTab1[[i, 3]]]}, {i, 1, 1000}]
ListPlot[Smtabext]
ListPlot[Smtabmix1]
ListPlot[Smtabmix2]
So here's the question. The values of the first column of FullTab1
, i.e. Subscript[τ, extra]
, should all have imaginary part equal to 1, but not all of them do. I'm only interested in the rows that do satisfy the Im[#1]=1
condition. I would like to make my 'Smtab
' s only consistent of these rows. Any insight on how this could be done?
I have tried If, For, Select, Do
, and a few other commands but I'm not sure if I'm using them right. Any help would be appreciated.
FullTab1
contains only the symbol,Subscript[\[Tau], extra]
, and no complex numbers, because no values have been assigned toSubscript[\[Tau], extra]
. $\endgroup$