Skip to content

Instantly share code, notes, and snippets.

@ctralie
Created August 9, 2025 14:28
Show Gist options
  • Save ctralie/5f8810ddbeb731dcba5863813f5a65b7 to your computer and use it in GitHub Desktop.
Save ctralie/5f8810ddbeb731dcba5863813f5a65b7 to your computer and use it in GitHub Desktop.
N = 101
ts = 2*np.pi*(np.linspace(0, 1, N+1))[0:N]
X = np.zeros((N, 2))
X[:, 0] = np.cos(ts)
X[:, 1] = np.sin(2*ts)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment