Please help me build parts of my code. Requires a bit of time

3 ビュー (過去 30 日間)
Aarav Shah
Aarav Shah 2019 年 11 月 30 日
編集済み: Walter Roberson 2019 年 12 月 1 日
I need a couple of things that I need to make some stuff:
At y=100, I need four flat lines of different lengths.
The first line should go from (0,0) to (40,0)
The second line should go from (50,0) to (70,0)
The third line should go from (70,0) to (80,0)
The fourth line should go from (85,0) to (90,0)
The second thing is when you see purple points generated, I want the code to cancel if the line hits those points.
The third thing is I want the line to go left from points (0.0) to (50,0) and right from points (51,0) to (100,0)
Please let me know how I should go about doing this stuff. The code needed for review is attached.Capture.PNG
  1 件のコメント
Walter Roberson
Walter Roberson 2019 年 12 月 1 日
編集済み: Walter Roberson 2019 年 12 月 1 日
plot([0 40 nan 50 70 80 nan 85 90], [0 0 nan 0 0 0 nan 0 0], '*-')

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File Exchange2-D Function Plots についてさらに検索

タグ

製品


リリース

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by