フィルターのクリア

For Loop and Resistance

2 ビュー (過去 30 日間)
Stacy
Stacy 2013 年 6 月 6 日
Hi,
How can I divide large sinusoidal voltage signal sample points(30000) into few chucks without loosing sample points using for loop? I have to take RMS of that signal to calculate impedance (Z) over time for that signal.

回答 (1 件)

Julius
Julius 2013 年 6 月 10 日
There is no need to use for loop to do this.
If you want 3 pieces, just
piece1 = initialData(1:10000);
piece2 = initialData(10001:20000);
piece3 = initialData(20001:end);

カテゴリ

Help Center および File ExchangeLoops and Conditional Statements についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by