How to create points set on 2D polyline
    10 visualizaciones (últimos 30 días)
  
       Mostrar comentarios más antiguos
    
    abuzer
      
 el 12 de Abr. de 2016
  
    
    
    
    
    Respondida: abuzer
      
 el 13 de Abr. de 2016
            Dear All,
I would like to write a code which creates point feature or matrix on the line with specific sampling interval.
For example as seen below code I have 7 point coordinates (x,y),
Now the problem is I would like to increase these point set with giving sampling interval of point 0.1.
Then create new points set.
data= [0 0;
    1 1;
    2 2;
    3 2;
    4 1;
    5 1.25;
    6 3.25];
figure
plot(data(:,1),data(:,2),'r+');
Thanks in advance.
Mustafa
0 comentarios
Respuesta aceptada
Más respuestas (0)
Ver también
Categorías
				Más información sobre Interpolation en Help Center y File Exchange.
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
