- 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 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
hi sir,
i got the voltage samples of three phases
sir how to segment these voltage samples
thanku sir
0 commentaires
Réponse acceptée
Rick Rosson
le 1 Sep 2011
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 commentaires
Walter Roberson
le 1 Sep 2011
Please expand on what you mean by "piecewise distribution" in this context ?
Plus de réponses (1)
Rick Rosson
le 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
0 commentaires
Voir également
Catégories
En savoir plus sur Spectral Measurements dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!