Hi,
I am searching for a solution regarding following situation. To be more precise, to what extend can a table-function be manipulated?
L = 2;
Q = 2;
K = 3;
M = 3;
A = 2;
rpixel = 10.0;
dphi = 2*Pi/L ;
deltaphiGrad = 10.0;
deltaphi =
deltar = 1.0;
phi[l_, q_, m_] := l*dphi + q*deltaphi/m - dphi/2(* --- Position in Phi --- *)
xcontrol = MatrixForm[Table[phi[l, q, m], {m, 1, M}, {l, 1, L}, {q, 0, m*A*(Q - 1)}]]
In the last line I have a table-function which generates 2 fields of numbers, wherein the 1st row contains 3 values, 2nd row 5 values and the 3rd row 7 values. With the variable A it is possible to extend the values in each row.
Question: My goal is that the variable A should only be applied when m will be incremented to 2.
xcontrol = MatrixForm[Table[phi[l, q, m], {m, 1, M}, {l, 1, L}, {q, 0, m*A*(Q - 1)}]]
This leads that the 1st row will be computed independently of A and only the 2nd and 3rd row will be extended. So, do I have a possibility to manipulate the table-function to achieve that? Maybe some kind of programmatic table functions are needed?
Many thanks in advance for some hints!