plotting data points at unevenly spaced intervals

1 回表示 (過去 30 日間)
richard
richard 2013 年 9 月 19 日
I am wanting to plot data so that the independent variable is multiplied by a factor of 0.025 starting with the independent variable s=0
so for example, I want my independent variable (which will be input into a function and plotted) to be like this s_1=0*.025 s_2=1*0.025 s_3=2*.025 ...
How do I tell matlab to do this?

回答 (1 件)

Jan
Jan 2013 年 9 月 19 日
編集済み: Jan 2013 年 9 月 19 日
s = 0:0.025:10
These are the fundamental basics of Matlab. Reading the Getting Started chapters of the documentation is recommended to learn them.

カテゴリ

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

タグ

製品

Community Treasure Hunt

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

Start Hunting!

Translated by