hello guys.this is my code.x2 and y2 are the experimental data while pt and y12 are the theoritical fittings.y2 has 10 values while y12 has 450 points.i need to take the 10 points from theoritical on the same pt as experimental
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
waqas muhammad
el 18 de En. de 2018
Respondida: waqas muhammad
el 18 de En. de 2018
code
0 comentarios
Respuesta aceptada
KSSV
el 18 de En. de 2018
Simple, you may use interpolation to get what you want.
%%Get 10 points from theoritical on the same pt as experimental
x2i = x2 ;
y2i = interp1(pt,y12,x2i) ;
2 comentarios
Más respuestas (1)
Ver también
Categorías
Más información sobre Contour Plots 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!