introduction to matlab code

답변 (2개)

Matt J
Matt J 2013년 4월 16일

0 개 추천

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 2013년 4월 16일

0 개 추천

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

댓글 수: 1

Matt J
Matt J 2013년 4월 16일
The green curve is the actual function.

댓글을 달려면 로그인하십시오.

카테고리

도움말 센터File Exchange에서 Smoothing에 대해 자세히 알아보기

태그

아직 태그를 입력하지 않았습니다.

질문:

2013년 4월 16일

Community Treasure Hunt

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

Start Hunting!

Translated by