processing signal

1 view (last 30 days)
syam prasad
syam prasad on 1 Sep 2011
hi sir,
i got the voltage samples of three phases
sir how to segment these voltage samples
thanku sir

Accepted Answer

Rick Rosson
Rick Rosson on 1 Sep 2011
Can you please answer the following questions?
  1. Are the samples stored in a data file, or have you already brought them into the MATLAB Workspace?
  2. If in a data file, what is the format of the file?
  3. 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?
  4. How many samples do you have for each of the three phases?
  5. What is the sampling rate of the data?
  6. What do you mean by the term "segment"?
  7. What types of computations and/or visualizations do you want to do with the data?
  8. Are you using MATLAB or Simulink (or both)?
  9. What Toolboxes and Blocksets do you have?
I would be happy to help you if you can provide all of this information.
Thanks!
Rick
  2 Comments
syam prasad
syam prasad on 1 Sep 2011
1)Are the samples stored in a data file, or have you already brought them into the MATLAB Workspace?
ans--- workspace only
2)If in a data file, what is the format of the file?
ans---- no datafile
3)If in the Workspace, what is the name of the variable(s) in which the data is stored?
ans---- v
4)How many samples do you have for each of the three phases?
ans ----2500
What is the sampling rate of the data?
6)What do you mean by the term "segment"?
ans-------piecewise distribution
8)What types of computations and/or visualizations do you want to do with the data?
ans-----plot threephase wave
9) Are you using MATLAB or Simulink (or both)?
both
Walter Roberson
Walter Roberson on 1 Sep 2011
Please expand on what you mean by "piecewise distribution" in this context ?

Sign in to comment.

More Answers (1)

Rick Rosson
Rick Rosson on 1 Sep 2011
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

Community Treasure Hunt

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

Start Hunting!