About 2,900,000 results
Open links in new tab
  1. How to draw vectors (physical 2D/3D vectors) in MATLAB?

    Thanks Martin for the scale argument. But the arrowheads in quiver3 doesn't look very nice as compared to arrow.m from Matlab File Exchage.

  2. MATLAB - convert vector to unit vector - Stack Overflow

    Nov 24, 2016 · I have a vector: vector = [1 2 3;4 5 6; 7 9 0] vector = 1 2 3 4 5 6 7 9 0 I want to take this and create a unit vector. We can get the magnitude by doing: ...

  3. How to display (print) vector in Matlab? - Stack Overflow

    How to display (print) vector in Matlab? Asked 12 years, 8 months ago Modified 9 years, 8 months ago Viewed 120k times

  4. MATLAB: duplicating vector 'n' times - Stack Overflow

    Jul 29, 2016 · I conducted a small Matlab test to check the speed differential between repmat and tony's trick. Using the code mentioned below, I calculated the times for constructing the same …

  5. What is the difference between * and .* in Matlab?

    Apr 4, 2013 · %% Difference between * and .* in MatLab % * is matrix multiplication following rules of linear algebra % See MATLAB function mtimes() for help % .* is Element-wise …

  6. arrays - Split vector in MATLAB - Stack Overflow

    Apr 25, 2015 · So how does this work? Well, the first line defines your input vector, the second line finds how many elements are in this vector and the third line denotes your cut vector …

  7. matlab - Change row vector to column vector - Stack Overflow

    It is common practice in MATLAB to use the colon operator : for converting anything into a column vector. Without knowing or caring if normal is a row vector or a column vector, you can force p …

  8. MATLAB: extract every nth element of vector - Stack Overflow

    Apr 19, 2015 · Is there an easy way to extract every nth element of a vector in MATLAB? Say we have x = linspace (1,10,10); Is there a command something like y = nth (x,3) so that y = 3 6 9? …

  9. matlab - How to "unpack" a vector variable into several variables ...

    How to "unpack" a vector variable into several variables? Asked 9 years, 4 months ago Modified 9 years, 4 months ago Viewed 12k times

  10. matlab - Use a vector as an index to a matrix - Stack Overflow

    I'm writing a MATLAB function to read out data into an n-dimensional array (variable dimension size). I need to be able to access a specific point in the Matrix (to write to it or read it, for exam...