matlab如何画平滑的线,用matlab画正弦平滑曲线而不是锯齿线

本文介绍了一种使用MATLAB绘制平滑曲线的方法,通过abFluentPlot函数结合abPlotSin函数,将数据点间的直线转换为半余弦曲线,以减少锯齿效果,使曲线看起来更平滑。
摘要由CSDN通过智能技术生成

3f288ee285423cc6e29fa526842ca321.png

3f288ee285423cc6e29fa526842ca321.png

%{ This is comment.

2016-07-17 Sunday, Im working at WanGen CDN inc. I saw a pic days ago in

the Enterprise QQ Group named CDN JiShu of the company, it is a pic of

a curve of a data sequence, I noticed that it is different to normal

data curve for that it use sinusoidal curve instead of beeline, I feel

it is a creative method to let the curve look more smooth and less

sawtoothly.

This function receive two sequence as input arguments, ABSx is x axis,

ABSy is y asix.

function abPlotSin draws a semi cosine curve between two point, function

abFluentPlot cal

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值