I have a vector of dates (full_dates(Nx1)) and a matrix of interest rates (full_interest(NxM)). I want to plot interest rates from specifics dates. How do I do this?
I tried:
dates2plot=datetime(['10-Jul-2017';'23-Sep-2009';'26-May-2017'])interest2plot=full_interest(full_dates==dates2plot,:)plot(interest2plot)
But it works when I use only one date.
I'm learning matlab now, so it may be a trivial question. Can anyone help?
Best Answer