- Are the samples stored in a data file, or have you already brought them into the MATLAB Workspace?
- If in a data file, what is the format of the file?
- If in the Workspace, what is (are) the name(s) of the variable(s) in which the data is stored? How many rows and columns are in each variable?
- How many samples do you have for each of the three phases?
- What is the sampling rate of the data?
- What do you mean by the term "segment"?
- What types of computations and/or visualizations do you want to do with the data?
- Are you using MATLAB or Simulink (or both)?
- What Toolboxes and Blocksets do you have?
processing signal
1 回表示 (過去 30 日間)
古いコメントを表示
hi sir,
i got the voltage samples of three phases
sir how to segment these voltage samples
thanku sir
0 件のコメント
採用された回答
Rick Rosson
2011 年 9 月 1 日
Can you please answer the following questions?
I would be happy to help you if you can provide all of this information.
Thanks!
Rick
2 件のコメント
Walter Roberson
2011 年 9 月 1 日
Please expand on what you mean by "piecewise distribution" in this context ?
その他の回答 (1 件)
Rick Rosson
2011 年 9 月 1 日
I will assume that v is a 2500 x 3 matrix where each column is one of the three phases of electrical power. I will also assume that there is a known sampling rate (in samples per second) stored in a scalar variable Fs.
For the purposes of this answer, I will assume that the value of Fs is 500 samples per second, so that the 2500 samples of data represents 5 seconds of time.
So, the MATLAB code might be:
M = size(v,1);
Fs = 500;
dt = 1/Fs;
t = dt*(0:M-1)';
figure;
plot(t,v);
grid on;
xlabel('Time (in seconds)');
ylabel('Amplitude (in volts)');
title('Three-Phase Electrical Power');
legend('Phase 1','Phase 2','Phase 3');
HTH.
Best regards,
Rick
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Spectral Measurements についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!