i want to draw a half staircase sinusoidal curve

6 views (last 30 days)
I want to draw a half sinusoidal curve. In other means a pattern insert in a picture. I used for or if loop but not get success.
x-axis increases 20 sec and against it y-axis 1 sec.
I am highly appreciated for your answers.

Accepted Answer

Walter Roberson
Walter Roberson on 27 Sep 2022
Use the Computer Vision insertShape function requesting a 'line' .
The coordinates for the line would need to duplicate every middle x value -- once for the bottom of the stair and once for the top of the stair.
  8 Comments

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!