introduction to matlab code

Réponses (2)

Matt J
Matt J le 16 Avr 2013

0 votes

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 le 16 Avr 2013

0 votes

I want to plot the actual function on the graph as well.

1 commentaire

Matt J
Matt J le 16 Avr 2013
The green curve is the actual function.

Connectez-vous pour commenter.

Catégories

Tags

Aucun tag saisi pour le moment.

Question posée :

le 16 Avr 2013

Community Treasure Hunt

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

Start Hunting!

Translated by