# How can I find a multiplication coefficient between two signal?

2 Ansichten (letzte 30 Tage)
Lara am 31 Mär. 2023
Kommentiert: Lara am 31 Mär. 2023
Hello!! I have two signals measured experimentally. Theoritically, the second signal can be obtained with the first one by multiplying it with a constant ( this constant characterize my system). How can I find on matlab this constant. I tried "corr" but it doesn't work. Thank you so much for your help!!!
##### 0 Kommentare-1 ältere Kommentare anzeigen-1 ältere Kommentare ausblenden

Melden Sie sich an, um zu kommentieren.

### Antworten (1)

John D'Errico am 31 Mär. 2023
Bearbeitet: John D'Errico am 31 Mär. 2023
Your need is to solve the problem
signal2 = constant*signal1
Where the variable "constant" is unknown. This is easy to solve in MATLAB.
constant = signal1(:)\signal2(:);
##### 1 KommentarKeine anzeigenKeine ausblenden
Lara am 31 Mär. 2023
Actually, the two signals are mesured experimentally and have noise and incertitude, that's why i can't do a simple ratio. But I did the root mean square error and it works.

Melden Sie sich an, um zu kommentieren.

### Kategorien

Find more on Correlation and Convolution in Help Center and File Exchange

### Community Treasure Hunt

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

Start Hunting!

Translated by