Community Profile

photo

Nicholas Wolf


Last seen: 1 year ago Active since 2021

Followers: 0   Following: 0

Statistics

Feeds

View by

Question


How to create a vector consisting of repeating 1's and 0's.
I need to create a column vector consisting of alternating 1's and 0's [1 0 1 0 1 0 1 0 ... 0 1] for n times. Could anyone help ...

3 years ago | 1 answer | 0

1

answer

Question


How do you create a matrix Aij where each value is determined by a formula?
I need to define a matrix A where each element (aij) is defined by a formula. For example, A = aij and aij = 1/(i+j-1) where i,...

3 years ago | 1 answer | 0

1

answer