Implement the following formula
古いコメントを表示
How can I implement the following formula? Please write the code for it. Thanks.
y[n,m]= 1/3( x[n,m−1] + x[n,m] + x[n,m+1] )
採用された回答
その他の回答 (1 件)
Alan Stevens
2021 年 4 月 17 日
0 投票
Change the square brackets, [ ], to curved brackets, ( ). Put a multiply sign, *, after the 3.
2 件のコメント
Sarah Maas
2021 年 4 月 17 日
Image Analyst
2021 年 4 月 17 日
OK, if you don't know how to do a for loop, then you have not even taken the most basic training on MATLAB. So follow this link and learn how to do simple things like for loops, if statements, assignments, referencing elements in an array, etc.:
カテゴリ
ヘルプ センター および File Exchange で Image Processing and Computer Vision についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!