I just started learning about mathematica so sorry if this is a stupid question. I’m trying to define a vector function so that when I input it into my 3D vector plot it returns something, but it doesn’t do anything. But when I copy paste it directly into the VectorPlot3D it shows up. Am i assigning my function wrong?
Your function already returns a vector and you put brackets around it again.
f[x,y,z] = {a, b ,c}
you define
{f[x,y,z]}={{a,b,c}}
But for me in Mathematica 12.2 both examples produce vector plots.