Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
ベクトル x=[0 0 0 1 1 2 1 3 1 4] があります。階段グラフとしてプロットする必要がありますが、x 軸上の各要素と別の要素の間のスペースは、たとえば 1 単位または 1 秒でなければなりません。ベクトル要素が x 軸上の同じ単位で matlab プロットの複数の要素を増加させるときなど
では、x 軸を調整して、x 軸に 1 秒で各要素をプロットするにはどうすればよいですか?