PO_matlab
mycross.m File Reference

Computes the cross product of two 3D vector fields component-wise. More...

Functions

function mycross (in Ax, in Ay, in Az, in Bx, in By, in Bz)

Detailed Description

Computes the cross product of two 3D vector fields component-wise.

Given the Cartesian components of two 3D vectors or vector fields A and B, this function computes their cross product C = A x B in Cartesian form.

Parameters
AxX-component of vector A
AyY-component of vector A
AzZ-component of vector A
BxX-component of vector B
ByY-component of vector B
BzZ-component of vector B
Return values
CxX-component of the cross product A x B
CyY-component of the cross product A x B
CzZ-component of the cross product A x B

Function Documentation

◆ mycross()

function mycross ( in Ax,
in Ay,
in Az,
in Bx,
in By,
in Bz )