フィルターのクリア

Why I get different data from 'to workspace' and 'scope'

1 回表示 (過去 30 日間)
Shengnan Li
Shengnan Li 2016 年 6 月 16 日
コメント済み: Shengnan Li 2016 年 6 月 17 日
I have a switching signal, and a 'edge detector', try to count the pulses. The results from scope looks very good, the 'edge detector' catches all the pulses. I also connected the output of 'edge detector' to 'to workspace'. The data saved by 'to workspace' is not good any more. it loose a lot of impulses.
Can anyone help? Thanks,

回答 (1 件)

Azzi Abdelmalek
Azzi Abdelmalek 2016 年 6 月 16 日
Decrease the sample time of your to worksapce block
  1 件のコメント
Shengnan Li
Shengnan Li 2016 年 6 月 17 日
Thanks for your answer. The output of the edge detector are needle impulses. I tried sample time=1us instead of inherited, it catches none of the impulses but zeros. I am wondering for a impulse output how to save the data? Thanks.

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

カテゴリ

Help Center および File ExchangeScopes and Data Logging についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by