Mathematica 9 is now available
Student Support Forum
-----
Student Support Forum: 'Array generating' topicStudent Support Forum > General > "Array generating"

Next Comment >Help | Reply To Topic
Author Comment/Response
Alexandr
12/24/08 11:37am

Hello to all,

help me please. need to generate an array (i - lines, k - columns)

at line i need only elems: i-1, i, i+1

for example, array size: I = 5, J = 5;

starting at i=2 (1 - element exists, 0 - element doesn't exist):

1 1 1 0 0
0 1 1 1 0
0 0 1 1 1

thanks for your time, Alexandr.

URL: ,

Subject (listing for 'Array generating')
Author Date Posted
Array generating Alexandr 12/24/08 11:37am
Re: Array generating Xavier 12/30/08 05:09am
Next Comment >Help | Reply To Topic