introduction to matlab code

2 visualizaciones (últimos 30 días)
Tunde
Tunde el 16 de Abr. de 2013
byyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy

Respuestas (2)

Matt J
Matt J el 16 de Abr. de 2013
You're only plotting 11 points, so it probably is as smooth as it can get. Plot with more points to see a smoother curve.
BTW, this is a better way to build m,
m = linspace(0,2,n);

Tunde
Tunde el 16 de Abr. de 2013
I want to plot the actual function on the graph as well.
  1 comentario
Matt J
Matt J el 16 de Abr. de 2013
The green curve is the actual function.

Iniciar sesión para comentar.

Categorías

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

Etiquetas

Aún no se han introducido etiquetas.

Community Treasure Hunt

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

Start Hunting!

Translated by