Cross product of matrix, MATLAB in Engineering

Cross Product:

The cross or outer product a × b of two vectors a and b is defined only whenever both a and b are the vectors in three-dimensional space, that means that they both should have 3 elements. It can be defined as the matrix multiplication of a matrix composed from the elements from a in a specific manner as shown here and in the column vector b.

1189_Cross Product.png

The MATLAB has a built-in function cross to accomplish this.

>> vec1 = [4 2 5 ];

>> vec2 = [3 6 1 ];

>> cross(vec1,vec2)

ans =

-28 11 18

Posted Date: 10/22/2012 2:38:08 AM | Location : United States







Related Discussions:- Cross product of matrix, Assignment Help, Ask Question on Cross product of matrix, Get Answer, Expert's Help, Cross product of matrix Discussions

Write discussion on Cross product of matrix
Your posts are moderated
Related Questions
Variable Scope: The scope of any of variable is the workspace in which it is valid. The workspace generated in the Command Window is known as the base workspace. As we know

Vector operations: As vectors are special cases of matrices, the matrix operations elaborated (addition, subtraction, multiplication, scalar multiplication, transpose) work on

Finding a sting - function strfind: The function strfind does necessarily similar thing, except that the order of the arguments does make dissimilarity. The common form is str

Algorithm for appex subfunction: The algorithm for appex subfunction is as shown:  Receives x & n as the input arguments.  Initializes a variable for running sum of t

Symbolic Variables and expressions: The MATLAB has a type known as sym for the symbolic variables and expressions; these work with strings. The illustration, to generate a sym

Changing Case: The MATLAB has two functions which convert strings to all uppercase letters, or all lowercase, known as the upper and lower. >> mystring = 'AbCDEfgh';

1. Write a MATLAB function (upperTriangle) using the functions you previously created to convert a matrix to upper triangular form. Start with row 1, column1. Find the row that has

Removing Whitespace Characters: The MATLAB has functions which will eliminate trailing blanks from the end of a string and/or leading blanks from the starting of a string.

Sound Files: The sound signal is an illustration of a continuous signal which is sampled to result in a discrete signal. In this situation, sound waves traveling through the a

Algorithm for expfn function: The algorithm for expfn function is as shown:  receives the value of x as the input argument.  Prints the value of exp(x).  assigns a