hello sir i want to find a nonzero number in my total error signal ?

1 回表示 (過去 30 日間)
irfan
irfan 2016 年 5 月 26 日
コメント済み: irfan 2016 年 5 月 26 日
my original signal is X and my Recovered signal is X_re and the total Error which i count between them is Error=X-X_re; now i have to find nonzero number in my error signal so how can i will find it thanks in advance
  2 件のコメント
John BG
John BG 2016 年 5 月 26 日
what is the context?
are you reading from and instrument?
what is the type of X X_re and Error? double?
why do you ignore X_im?
please supply a sample in same way you attempt to process, whether file or workspace variables
irfan
irfan 2016 年 5 月 26 日
sir my Error is Complex double

サインインしてコメントする。

採用された回答

KSSV
KSSV 2016 年 5 月 26 日
idx = find(Error~=0) ; % Gives the indices of non-zero numbers in Error
  1 件のコメント
irfan
irfan 2016 年 5 月 26 日
k_r1=N-number; Rate=k_r1/N Rate_3(snr_num)=mean(Rate(snr_num,:)); sir when i find number of nonzero values and run it its gives me error after some values because i want to find snr from 10 to 50 db for 100 experiments

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeParametric Spectral Estimation についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by