フィルターのクリア

How to reduce distance between two point of this curve ?

2 ビュー (過去 30 日間)
Kristen Chappel
Kristen Chappel 2021 年 2 月 18 日
コメント済み: Rena Berman 2021 年 5 月 6 日
For example i drawn this curve and i need to increase the distance between this dot ? is it possible. Because in this curve dot are vey close to each other so i would like to increase distance between this dot equally. Can you please modify this curve
th = linspace( pi/2, -pi/2, 100);
R = 0.1; %or whatever radius you want
x = R*cos(th) + 0.1;
y = R*sin(th) + -0.01;
plot(x,y,'mo','MarkerSize',3); axis equal;
  5 件のコメント
Jan
Jan 2021 年 2 月 21 日
@Rik: Thanks, I share your opinion. The expression "inpolite" allows the user for answering "oh sorry, this was not my intention" and to change the behavior for following posts. Letting others keep the face can support an adjustment of their social interactions.
Rena Berman
Rena Berman 2021 年 5 月 6 日
(Answers Dev) Restored edit

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

採用された回答

Jan
Jan 2021 年 2 月 18 日
編集済み: Jan 2021 年 2 月 18 日
The trivial solution would be to reduce the numer of points:
% th = linspace(pi/2, -pi/2, 100); ==>
th = linspace(pi/2, -pi/2, 20);
If this does not solve your problem, explain, what exacty are your inputs and how you define "distance" here. Maybe you want to interpolate a trajectory and determine some intermediate points?

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeHistorical Contests についてさらに検索

タグ

製品


リリース

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by