Community Profile

photo

Nicholas Wolf


Last seen: 12 months ago Active since 2021

Statistics

Content Feed

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 ...

12 months 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,...

12 months ago | 1 answer | 0

1

answer