Code covered by the BSD License  

Highlights from
Working with Time-Series Data in MATLAB

image thumbnail

Working with Time-Series Data in MATLAB

by

 

29 Jan 2013 (Updated )

These are the example files for the webinar: "Working with Time-Series Data in MATLAB".

createfigure(X1, Y1)
% Copyright 2012-2013 The MathWorks, Inc.
function createfigure(X1, Y1)
%CREATEFIGURE(X1,Y1)
%  X1:  vector of x data
%  Y1:  vector of y data

%  Auto-generated by MATLAB on 26-Sep-2012 11:14:46

% Create figure
figure1 = figure;

% Create axes
axes1 = axes('Parent',figure1);
box(axes1,'on');
hold(axes1,'all');

% Create plot
plot(X1,Y1);

% Create xlabel
xlabel('Time (s)');

% Create ylabel
ylabel('Voltage Mag. (V)');

Contact us