# Questions tagged [vector-calculus]

Questions on dealing with vector calculus functions of Mathematica such as Grad, Div, Curl, Laplacian and their representations in various coordinate systems.

283 questions
Filter by
Sorted by
Tagged with
3 votes
5 answers
661 views

### Calculating length of curve based on data points?

I had around $1000$ data points $(x,y,z)$ and when I plot them they seem to lie on a closed curve. I carefully checked the data points and the points do not repeat rather they are somewhat close to ...
• 171
3 votes
1 answer
87 views

### Why isn't the vector field being plotted over the entire torus?

I am trying to plot a vector field over a torus. Here is my code and the image it produces: ...
• 155
2 votes
1 answer
53 views

### Solving a vector diferential equation lead to ComplexInfinity Encountered non-numerical value for a derivative at t == 0

I'm trying to solve the following Vector PDE: I implemented the following code: ...
0 votes
0 answers
66 views

0 votes
1 answer
93 views

### How to stack several vector plots using StreamPlot?

I would like to plot several stream plots as is in ref/StreamPlot (Mathematica 12). As is reported in the section: Generate a list of stream plots of varying [Lambda]: I did not change but it does not ...
• 495
0 votes
0 answers
47 views

• 1,847
1 vote
1 answer
113 views

### Quadratic form derivative in Mathematica

How to correctly differentiate quadratic form by vector in Mathematica, i.e.: $Q=\omega^T I_{p} \omega$ $\frac{dQ}{d\omega}= ???$ ...
• 1,847
4 votes
2 answers
404 views

### 'gradient' function in MMA

How to calculate Numerical gradient of 2D arrays using the "gradient function" ("Matlab-like")? "[___] = gradient(F,hx,hy,...,hN) specifies N spacing parameters for the ...
• 1,756
1 vote
0 answers
66 views

### StreamPlot works slow with analitical functions

I'm day to day user in Mathematica, that's I will be happy to any kind of help in code optimisation. So, I try to plot gradient for beatings between two laser modes and plot intensity, phase and phase ...
• 11
3 votes
0 answers
67 views

### Excess lines in the solution plot of vector ODE [closed]

I've got an ODE system, which I attempt to solve by two ways: solving the system itself, and using vector ODE. Here is code of first way: ...
1 vote
1 answer
229 views

• 556