Data Modelling with uneven sampling frequency

4 views (last 30 days)
Vinod Bhosale
Vinod Bhosale on 19 Jun 2020
Answered: Sabin on 23 Jan 2024
Hi,
I am doing data modelling, which has data between Voltage Vs Time, Active Power Vs Time, Reactive Power Vs Time.
All three variables are sampled at different sampling rate. Time is extracted in fomat date:hh:mm:ss, I have plotted three graphs w.r.t.
using various filters (SG, LQR etc.)
Now I need to compare, voltage with active power and Voltage with Reactive power in certain window. Since, time stamping is different, how to compare?
Is there any way, I can estimate values of active power & reactive power at same time instant of Voltage.

Answers (1)

Sabin
Sabin on 23 Jan 2024
plot(X1,Y1,S1,X2,Y2,S2,X3,Y3,S3,...) combines the plots defined by the (X,Y,S) triples, where the X's and Y's are vectors or matrices and the S's are strings. In this way it is possible to plot two or more signals with different time vector.
if the evolution of power is linear it will also be possible to interpolate the existing points to have the power at exact same timestamps. This way it is then easy to compare the two signals and do basic mathematical operations between them.

Categories

Find more on MATLAB in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!