Implement the following formula
Mostrar comentarios más antiguos
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] )
Respuesta aceptada
Más respuestas (1)
Alan Stevens
el 17 de Abr. de 2021
0 votos
Change the square brackets, [ ], to curved brackets, ( ). Put a multiply sign, *, after the 3.
2 comentarios
Sarah Maas
el 17 de Abr. de 2021
Image Analyst
el 17 de Abr. de 2021
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.:
Categorías
Más información sobre Image Processing and Computer Vision en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!