Plot 2 arrays in matlab?
31 views (last 30 days)
lets assume I have two arrays a & b as follows: a=[1,2,5,3,1.5,7,6]; b=[12,1,45,11,3,2,65];
plot(a,b) gives a plot having so many intersecting line segments. How can one get a continuous curve with no intersecting segments? Something like plotting those points first and drawing segments as we proceed along a axis. Thank you for any help you can offer.