Explore BrainMass
Share

# Matrix operations and functions

This content was STOLEN from BrainMass.com - View the original, and get the already-completed solution here!

Please show full work so that I can understand how you arrived at the answers.

https://brainmass.com/math/discrete-math/matrix-operations-and-functions-576286

#### Solution Preview

Hello and thank you for posting your question to Brainmass.
The solution ...

#### Solution Summary

the solution shows how to multiply matrices, how to show that matrices are inverse and how to identify one-to-one functions.

\$2.19

## Orthogonality using MATLAB

See attachment for full problem description.

w=2πf
t = n/256 (t goes from 0 to 1 in increments of 1/256)

x(t)= cos wt frequency= 2Hz
y(t)= cos wt frequency= 16Hz

When you need to find the dot product of two vectors x and y which will be equivalent to the inner product of the two functions x(t) and y(t):

then use xy = x*y' in MATLAB

This operation is equivalent to the matrix operation xyT, in which each element of x is multiplied by each element of y and the products are summed. The resultant value xy is a scalar. The corresponding inner product for x(t) and y(t) is

This corresponds roughly to the dot product when you think of the integration as a summation of sampled functions. The integration limits will depend upon extent of support of the functions x(t) and y(t), i.e., the integral will cover those times when both functions are non-zero.

(1) What is the value for xy?
(2) Are the two arrays x and y orthogonal?
(3) Are the two corresponding functions {x(t) and y(t)} orthogonal?
(4) Compute x(t) and y(t) using the above formula
(5) Find a function x1(t) which is orthogonal to x(t) and has the same frequency as x(t). Create the corresponding MATLAB array x1 and verify computationally (in MATLAB) that x1 is orthogonal to x.

View Full Posting Details