MATLAB: How to replace the 5 in the vector with decreasing numbers like 5,4,3,2,1 MATLABvectors x(3:4,3:5) = 5 Best Answer x(3:4,3:5) = reshape(5:-1:0, 2, 3); Related SolutionsMATLAB: Plot two vector. hello i have 2 vector example (1,2,3,4,5) and (5,4,3,2,1) i wat to obtain the coordinates (1,5) (2,4) (3,3) (4,2) (5,1). doc plot MATLAB: Transposing 5x5x5 matrix new = permute(r,[2,1,3]) Related Question5 equations with 5 unknownsMultiples of 5
Best Answer