<div dir="ltr">Of course!<br>
<br>
here is the command I'm using:<br>
<br>
<blockquote>r.neighbors --overwrite 
input=celdas.aleatorias.1-250@PERMANENT output=media1-250.pesos0 
weight=/home/luismi/Escritorio/prueba_pesos0.txt<br>
  <br>
</blockquote>
And the Matrix Weight is the next:<br>
<br>
<blockquote>0 0 0<br>
0 0 0<br>
0 0 0 <br>
</blockquote>
This matrix is the same for 1, 5 and 10 values. I'm putting spaces between the numbers... is this correct?<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/11/14 Vaclav Petras <span dir="ltr"><<a href="mailto:wenzeslaus@gmail.com" target="_blank">wenzeslaus@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><br><br><div class="gmail_quote"><div><div class="h5">On Thu, Nov 14, 2013 at 12:45 PM, Luis Miguel Royo Perez <span dir="ltr"><<a href="mailto:luis.miguel.royo@gmail.com" target="_blank">luis.miguel.royo@gmail.com</a>></span> wrote:<br>


<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  

    
  
  <div bgcolor="#FFFFFF" text="#000000">
    Hi everyone,<br>
    <br>
    I hope someone can explain how works the option <i>"matrix weights"
    </i>of the <b>r.neighbors</b> program. I've been trying to find out
    for myself but I'm really confused. I've read the documentation but
    it's no clear for me in this aspect.<br>
    <br>
    What I've trying to do to find out how works it the next:<br>
    <br>
    1st I've created a random matrix 5x5 with values from 1-25 randomly
    disposed.<br>
    2nd I've done four different matrix, 0, 1, 5, 10, for all the values
    in a 3x3 window, <br>
    <blockquote>for the first one (0), all the values are NULL.<br>
      for the rest I have the same result... :S Why?<br>
    </blockquote>
    I know i'm missing something, but I don't know what is it. I would
    aprecciate some help in this point. <br>
    <br></div></blockquote></div></div><div>Hi, can you please post also the exact commands you are using to make it clear? (I mean just copy from it command line or using Copy button in module dialog.)</div><div><br></div>
<div>Thanks,</div>

<div>Vaclav</div><div> <br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im"><div bgcolor="#FFFFFF" text="#000000">
    Thank you very much!!<span><font color="#888888"><br>
    <br>
    <pre cols="72">-- 
Luís Miguel Royo Pérez
</pre>
  </font></span></div>

<br></div>_______________________________________________<br>
grass-user mailing list<br>
<a href="mailto:grass-user@lists.osgeo.org" target="_blank">grass-user@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/grass-user" target="_blank">http://lists.osgeo.org/mailman/listinfo/grass-user</a><br></blockquote></div><br></div></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>Luís Miguel Royo Pérez. <br>Licenciado en Historia <br>Arqueólogo colegiado Nº 16218<br><br>Av. Blasco Ibañez nº 1. Manises (Valencia)<br>Teléfonos 679846103 y 961545792<br>
email: <a href="mailto:luis.miguel.royo@gmail.com" target="_blank">luis.miguel.royo@gmail.com</a><br>web: <a href="http://www.inisig.com" target="_blank">www.inisig.com</a><br><br>
</div>