# OpenStax_CNX

You are here: Home » Content » Results

### Recently Viewed

This feature requires Javascript to be enabled.

# Results

Module by: Ayana Andalcio. E-mail the author

## Direct Relationship

Our first step was to generate a Y1 with random ones and zeros and see if there is any direct relationship to v1. The following demonstrates the code used to produce random binary values (impedances for Y1), while Fig 1 shows the output of the comparison.

for c = 1:m,
if rand > 0.5,
y1(c) = one;
else
y1(c) = 0;
end
end

Y1 = diag(y1);
v1 = nfc(Y1, S0);

subplot(2,1,1)
stem(1:20, y1, 'r')
title('Magnitude of Y1')

subplot(2,1,2)
stem(1:20, abs(v1), 'b')
title('Magnitude of v1')


From these graphs, there was no obvious correlation between the “0’s” and “1’s” in Y1 and the values of v1. From here, a linear relationship was tested.

## Testing for Linearity

To determine if there was a linearity in computing the values of v1, we decided to compute the values of v1 for a Y1 matrix that had a diagonal of 11000000000000000000. As such, we first computed a set of v1 where there was a single 1 in the first port of Y1, and then a second set of v1 where there was a single 1 in the second port of Y1, and then added those two sets of values together. We were hoping to see if the result would produce a set of values of v1 that is identical to or similar to that which would be produced by a matrix with a diagonal of two 1's followed by 0's. The results of this test are shown in Fig 2 and Fig 3.

Looking at Fig 3. shows that the methods produce similar looking graphs, but each port has a slightly different magnitude. From these results we were able to conclude that the relationship between Y1 and v1 was non-linear.

## Fourier Transform

Our next approach was to look at the Fourier transform of several different patterns, to see if a Fourier transform of the values of v1 could provide any insight into a relationship. The following set of graphs shows the values of the diagonal of the Y1 matrix, and the corresponding v1 values computed from it.

From these graphs, once again, there is no evidence that there is any relationship between any of the patterns and the values of v1, nor any relationship between Y1 and the Fourier transform of the values in v1.

## Content actions

PDF | EPUB (?)

### What is an EPUB file?

EPUB is an electronic book format that can be read on a variety of mobile devices.

My Favorites (?)

'My Favorites' is a special kind of lens which you can use to bookmark modules and collections. 'My Favorites' can only be seen by you, and collections saved in 'My Favorites' can remember the last module you were on. You need an account to use 'My Favorites'.

| A lens I own (?)

#### Definition of a lens

##### Lenses

A lens is a custom view of the content in the repository. You can think of it as a fancy kind of list that will let you see content through the eyes of organizations and people you trust.

##### What is in a lens?

Lens makers point to materials (modules and collections), creating a guide that includes their own comments and descriptive tags about the content.

##### Who can create a lens?

Any individual member, a community, or a respected organization.

##### What are tags?

Tags are descriptors added by lens makers to help label content, attaching a vocabulary that is meaningful in the context of the lens.

| External bookmarks