Matlab - Signal Noise Removal

后端 未结 5 833
独厮守ぢ
独厮守ぢ 2021-02-04 16:11

I have a vector of data, which contains integers in the range -20 20.

Bellow is a plot with the values:

\"en

5条回答
  •  轮回少年
    2021-02-04 16:45

    If it's for demonstrative purposes only, and you're not actually going to be using these scaled values for anything, I sometimes like to increase contrast in the following way:

    % your data is in variable 'a'
    plot(a.*abs(a)/max(abs(a)))
    

    edit: since we're posting images, here's mine (before/after): enter image description here

提交回复
热议问题