# Questions tagged [vector]

Mathematical vectors, operations on vectors and vectorized programming.

644 questions
Filter by
Sorted by
Tagged with
1 vote
82 views

76 views

1 vote
158 views

### VectorQ with "mathematical" typography

Define a matrix by: where the "mathematical" typography is crucial here. Then MatrixQ[mm] yields True (as expected). ...
44 views

### How to calculate vectors? [closed]

Given vector a=(m, 3), vector b=(1, m+1), if vector a is perpendicular to vector b, calculate the value of m？
115 views

### Increase precision of matrix multiplication [closed]

I am computing U.U......U.x, where x is a vector, U a square matrix and the product involves N times U, i.e., (U^N).x if you like. One way to do this is ...
1 vote
79 views

### (vector)Rotation for A to point towards B [closed]

Assuming, Point A=vector2( 210,400) B=vector2(-120,480) Is there a short formula to find the angle to rotate A towards B ? (A is currently heading towards the Y-axis) Currently, using Pythagorean ...
145 views

### I need to manipulate a line that can rotate in (-1,7) right where the dashed arrow touches the blue line by changing the direction of the red arrow

Graphics[{{Blue, Line[{{-5, 3}, {5, 8}}]}, {Dashed, Arrow[{{0, 0}, P}]}, Red, Arrow[{{0, 0}, v}]}, Axes -> True, AxesLabel -> {x, y}] I've tried combining ...
1 vote
55 views

### How to test scalar product variables against each other?

Curious if there is a way to save time with scalar product multiplication with several variables? I have a 8x4 matrix and i wanna check if all the columns are orthogonal with each other, so ive taken ...
1 vote
188 views

### How to find vector in the subspace 𝑊 that is the closest to y in mathematica

New to mathematica and have looked into the matrix page but can't find anything to help. y= (4,3,3,1), u1=(1,1,0,1), u2= (-1,3,1,-2), u3=(-1,0,1,1)
81 views

### Matricization of a vector

Definitions Define a vector Tuples[a[0, 1], n] of elements $a[i_1,...,i_n], i_j \in \{0,1\} ~\forall j$, that is for instance ...
373 views

### Why do some functions require its arguments to be in a list while others accept these as a sequence? [closed]

With Midpoint[{{4, -2}, {2, 5}}], the vectors must be in a list. But with EuclideanDistance[{-2, 2}, {3, -6}], they don't. These ...
69 views

### Empty VectorPlot3D in Magnetic Field of Solenoid

I have been trying to plot the 3D magnetic field of a solenoid, with the below expression 1: With C, the generalised complete elliptic integral, defined as follows: I have implemented all of this in ...
67 views

### ListVectorPlot3D not plotting anything nor giving any error, just empty 3D axes

It's as simple as the title says. My code is: ...
52 views

### How to improve VectorDensityPlot ColorFuntion resolution?

Whenever I use VectorDensityPlot I get presented with extremely poor resolution colour function with cuboid shape: ...
122 views

### Checking conditions of 2 dimensional table

I have a 2 dimensional table and I would like to test if for each vector, x^2 + y^2 > 5. vector is an element (x.y) of the table. Is it possible to manipulate the elements of a table this way? <...
117 views

### Issue with the norm of a vector

Consider two vectors v1 = 1/Sqrt {{Exp[I y/2]}, {Exp[-I y/2]}}; and v2 = I/Sqrt {{Exp[-I y/2]}, {-Exp[I y/2]}};, such that ...
227 views