フィルターのクリア

how to remove some portion of boundary of an object without affecting remaining portion in matlab by programming

1 回表示 (過去 30 日間)
i have one query. i made a 2-d figure 'c.png' in matlab by using r and theta and with the help of boundary function..now i want to make a figure 'p.png' from previous figure..i made it manually but i want to make it automatically by programming ..i attached figures in png format due to size is very large in fig format..please help me

採用された回答

KSSV
KSSV 2019 年 5 月 9 日
load f1.mat ;
load f2.mat ;
x = f1 ; y = f2 ;
figure
hold on
plot(x,y,'*r')
idx = x>35.5 ;
x(idx) = [] ;
y(idx) = [] ;
plot(x,y,'Og')
  3 件のコメント
KSSV
KSSV 2019 年 5 月 9 日
Put NaN at the end point for x and y.
VANDANA GUPTA
VANDANA GUPTA 2019 年 5 月 9 日
THANK YOU VERY MUCH SIR...I AM VERY GRATEFUL TO YOU..

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

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeGraphics Object Programming についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by