Answered
I am plotting the moving median of the result of a for loop, but it is plotting multiple lines?
Figured it out, Just needed to plot the value of median i.e. plot(i,median(i),'or')

nästan 7 år ago | 0

| accepted

Question


I am plotting the moving median of the result of a for loop, but it is plotting multiple lines?
My code goes something like this hold on For i = 1:end; result(i)= calc; median = movmedian(result,10); plot...

nästan 7 år ago | 2 answers | 0

2

answers