Borrar filtros
Borrar filtros

Generate random signal with specific mean, variance and auto correlation.

6 visualizaciones (últimos 30 días)
mohsan niaz
mohsan niaz el 31 de Mzo. de 2022
Respondida: Brahmadev el 21 de Sept. de 2023
Hi everyone
I want to generate a random signal shown in red plot in figure below. This red signal is the filtered version of the blue signal over a hundered samples.
The simple way out will be to analyze the distribution of the blue signal, then use the distribution and pass it through a low pass filter. My question is that will it generate a red signal with the same properties of mean, standard deviation and correlation as shown in the figure ?
Regards
Mohsan.

Respuestas (1)

Brahmadev
Brahmadev el 21 de Sept. de 2023
Hi mohsan,
I understand that you would like to generate the red signal using the blue signal. A low pass filter could generate a similar response based on it's frequency response. Refer to the following documentation for more information on low pass filters and how to customize them according to our reqirements.
Another method to achieve a similar result is using Moving Averages. MATLAB has an inbuilt function "movmean" for the same. Please refer to the following documentation for more information on the function.
I hope this provides more clarity on your issue.
Best regards,
Brahmadev

Categorías

Más información sobre Matched Filter and Ambiguity Function en Help Center y File Exchange.

Productos

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by