Skip to content

Complex Noise section signal power 2? #120

@mindentropy

Description

@mindentropy

In the section https://pysdr.org/content/noise.html#complex-noise it is mentioned the average power of a zero mean signal using:

power = np.var(x)

In the subsequent line it is mentioned the power of signal n is 2 where n is as follows:

n = np.random.randn() + 1j * np.random.randn()

When I run np.var(n) , the result is 0. So how is the power of signal 2?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions