how to convert a plot to a more accurate data?

3 visualizaciones (últimos 30 días)
masoud avaznejad
masoud avaznejad el 27 de Ag. de 2020
Comentada: masoud avaznejad el 28 de Ag. de 2020
Hello every body
I plotted a figure
now I want to have its matrix in high resolution (more points)
how can I do that?
clc;
clear;
close all;
x=[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24];
y=[0,0,0,0,0.00332812794895371,0.497839135697320,1.98730498411229,3.68649138870512,5.26833130432260,6.65309642084821,7.52596016798571,7.87288100734659,7.72402047250485,7.03186688442338,6.01361607877631,4.65738228741286,3.07663320404878,1.46230367941451,0.221349612102121,0,0,0,0,0];
plot(x,y);

Respuesta aceptada

Cris LaPierre
Cris LaPierre el 27 de Ag. de 2020
You need to create more points. Consider using the interp1 function. There are some helpful examples on the documentation page.

Más respuestas (0)

Categorías

Más información sobre Mathematics en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by