フィルターのクリア

Interp2 problem with brightness

2 ビュー (過去 30 日間)
valerio auricchio
valerio auricchio 2019 年 5 月 10 日
コメント済み: KSSV 2019 年 5 月 10 日
Thia is the code that we use:
[xmg1,ymg1]=meshgrid(-10:0.8:10,-10:0.8:10);
[xmg2,ymg2]=meshgrid(-2:0.2:2,-2:0.2:2);
txi=-10:0.05:10;
tyi=-10:0.05:10;
[xr,yr]=meshgrid(txi,tyi);
z1=(cos(xmg1)+sin(ymg1))*xmg1*ymg1; %ordinate della funzione
figure(1)
lt1=interp2(xmg1,ymg1,z1,xr,yr,'linear');
surf(xr,yr,lt1),title('Interpolazione lineare 2D')
Schermata 2019-05-10 alle 09.33.09.png
  2 件のコメント
Jan
Jan 2019 年 5 月 10 日
You forgot to ask a question.
KSSV
KSSV 2019 年 5 月 10 日
Try
shading interp
after the surf command

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

回答 (0 件)

カテゴリ

Help Center および File ExchangeGeographic Plots についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by