Streamlines to visualize 6-component Electromagnetic data

2 次查看(过去 30 天)
I am having trouble understanding and using the streamlines fucntion
I have 6-component electromagnetic data. ie. Ex,Ey,Ez & Hx,HyHz.
X = RX_Mesh;
Y = RY_Mesh; %Km
Z = RZ_Mesh;
startx = X(51:10:101);
starty = Y(101:10:201);
startz = Z(51:10:101);
freq=1
%VECTOR COMPONENTS
ex = Ex; ey = Ey; ez = Ez; %electric vector components
hx = Hy_Total; hy = Hy_Total; hz = Hz_Total; % magnetic vector components
u3 = Sx; v3 = Sy; w3 = Sz; %poynting vector components
close all
streamline(X,Y,Z,ex,ey,ez,startx,starty,startz)
hold on
streamline(X,Y,Z,hx,hy,hz,startx,starty,startz)
using all other functions such as slice, contour, quiver3 etc my data plots as expected so it cannot be the data. I am just not understanding something correctly about the startx,starty,startz

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Vector Fields 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by