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!