Matlab Simulation: Point (symbol) Moving from start point to end point and back

前端 未结 2 430
说谎
说谎 2021-01-07 08:02

I would like to create an animation to demonstrate LDPC coding which is based on Sum-Product Algorithm

So far I have created a graph which shows the connections betw

2条回答
  •  北荒
    北荒 (楼主)
    2021-01-07 08:43

    From the documentation for comet.m

    t = 0:.01:2*pi;
    x = cos(2*t).*(cos(t).^2);
    y = sin(2*t).*(sin(t).^2);
    comet(x,y);
    

提交回复
热议问题