![photo](/responsive_image/150/150/0/0/0/cache/matlabcentral/profiles/22963675_1625192148734_DEF.jpg)
Nicholas Wolf
Followers: 0 Following: 0
Feeds
提问
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 前 | 1 个回答 | 0
1
个回答提问
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 前 | 1 个回答 | 0