The function you’re looking for is repmat()
.
v10 = repmat(v, 1, 5)
More Related Contents:
- Octave/Matlab: Adding new elements to a vector
- Which part of this is a non-negative integer? (factorial error) [closed]
- “Undefined function ‘function_name’ for input arguments of type ‘double’.”
- For loop to split matrix to equal sized sub-matrices
- How can I plot a function with two variables in Octave or Matlab?
- Getting FFT peaks from data
- Create a zero-filled 2D array with ones at positions indexed by a vector
- Vectorizing the Notion of Colon (:) – values between two vectors in MATLAB
- Sweep / chirp signal ends at incorrect frequency
- How to subtract a vector from each row of a matrix? [duplicate]
- How can I sort a 2-D array in MATLAB with respect to one column?
- How do I detect if I’m running MATLAB or Octave?
- How does the colon operator work in MATLAB?
- Is MATLAB OOP slow or am I doing something wrong?
- How to elegantly ignore some return values of a MATLAB function
- How do you concatenate the rows of a matrix into a vector?
- Is MATLAB row specific or column major?
- Get the indices of the n largest elements in a matrix
- Matlab: implementing what CTRL+C does, but in the code
- How can I divide each row of a matrix by a fixed row?
- How can I load 100 files with similar names and/or string in just one step in MATLAB?
- How to use SIFT algorithm to compute how similar two images are?
- using precomputed kernels with libsvm
- Remove noise from wav file, MATLAB
- Initializing a ublas vector from a C array
- Convert output from symbolic math (sym) to float
- Machine learning – Linear regression using batch gradient descent
- Extract arbitrarily rotated plane of data from 3D array as 2D array
- Select largest object in an image
- Efficiently compute a 3D matrix of outer products – MATLAB