How to plot desired datapoints on a curve?
2 views (last 30 days)
William Rose on 25 Jul 2022
You must have a vector that (58 x 1), which accompanies yhat (58 x 1). Let us create vectors to use as examples:
that=[1:689:40000]'; %time vector, 58 x 1
yhat=sin(that/2000); %desired data, 58 x 1
Then you may do