Message Boards Message Boards

0
|
5431 Views
|
3 Replies
|
0 Total Likes
View groups...
Share
Share this post:

Manipulate table-functions?

Posted 7 years ago
POSTED BY: Nikki Peter
3 Replies
Posted 7 years ago

Can you list the rows that you want? Without evaluating your phi function, just list the values for each {l,q,m} that you want and how many of those you want and what order you want them in. Perhaps with that someone can reverse engineer how to create that list of lists.

POSTED BY: Bill Simpson
Posted 7 years ago

Hi Bill,

thanks for your reply! The variable K defines the row value. When I use your example I get only 2 rows, instead of 3 (K=3) And M should also be held flexible, meaning all integer values for M should be used.

POSTED BY: Nikki Peter
Posted 7 years ago

The help pages for Table show

Table[expr,{i,imin,imax}]

which increments i by 1

and

Table[expr,{i,imin,imax,di}]

which increments i by di

So perhaps

M = 5;
xcontrol = MatrixForm[Table[phi[l, q, m], {m, 1, M, 2}, {l, 1, L}, {q, 0, m*A*(2 - 1)}]]

which increments m by 2

POSTED BY: Bill Simpson
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract