Tabulating the points an XY Graph receives

A MathScript Node in a LabVIEW VI models the position of a slider during a short test with the script below, where t is time in seconds and y is position in centimetres. Its outputs t and y are 1D arrays of DBL, bundled with t first and wired to an XY Graph.


MATLAB
t = 0:0.5:2;
y = 2*t.^2 - t;


Complete the table with the coordinates of every point the XY Graph plots, in the order they are stored in the arrays. Enter exact values: times in seconds and positions in centimetres.

Pointt (s)y (cm)
10
2
3
4
5

Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors

More MathScript Node and XY Graph Questions: