processing signal
Show older comments
hi sir,
i got the voltage samples of three phases
sir how to segment these voltage samples
thanku sir
Accepted Answer
More Answers (1)
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
Categories
Find more on Spectral Measurements in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!