MATLAB: Can i obtain this vector matrixvector can anyone help me to obtain this vector: v=[1 2 5 6 9 10]; i want to know, if we can obtain a relation beteween the vector's elements ? Best Answer >> V = 0:5;>> 2*V + mod(1+V,2)ans = 1 2 5 6 9 10See also:https://oeis.org/search?q=1%2C2%2C5%2C6%2C9%2C10 Related SolutionsMATLAB: How to delete an element of a vector v=[1 10 3 4 10] w=v(v~=10) %orv(v==10)=[] MATLAB: Buildind special vector? V(3)=V(6)=V(9)…=0 Another guess:V = ones(1, N);V(3:3:end) = 0; Related QuestionCan anyone help me to fix the issueCount the number of same elements in an arrayHow to find locations of multiple values within a matrix.How to get the last numbers of an array from a for loopMatrix formed by Vectors?Easy question.Negative number in vector
Best Answer