Re: Multiplying by (r)



Abder-Rahman wrote:
In this MATLAB command:

tr = unit8(r.*double(not(t));

Provided that (r) is:

r = rand(256)*128+127;

What is the purpose of multiplying by (r)?

Seeing as it is a random number and you asked this question twice
in quick succession with different titles, we can deduce that this
time around the code has a different purpose than for your
previous posting "Multiplying by a random number".

In *this* section of code (but not the previous identical code),
the purpose of multiplying by r is to help lost LOGO turtles
find their way home.

--
Q = quotation(rand);
if isempty(Q); error('Quotation server filesystem problems')
else sprintf('%s',Q), end
.



Relevant Pages

  • Re: Use of * in formula
    ... I have noticed that sometimes Excel tries to add a * to a formula I try to ... create that uses nested functions. ... Can someone explain what the purpose ... I understand its role in multiplying ...
    (microsoft.public.excel.worksheet.functions)
  • Re: Help with this modelview matrix?
    ... purpose of the node's matrix, to position the node in the world, but what ... could be the point of multiplying by the inverse of the mesh's matrix? ... Why invert it? ... produced the polygon data can answer that... ...
    (comp.graphics.api.opengl)
  • Re: Multiplying by a random number
    ... What is the purpose of multiplying by? ... To waste our time with a ... series of ridiculous elementary questions? ...
    (comp.soft-sys.matlab)
  • Re: The Harris Group
    ... By multiplying, we can go the opposite direction. ... but it could serve the same purpose. ...
    (sci.math)
  • Re: Screw Siblings
    ... > but he was questioning your purpose in posting. ... Nice to see Katie is real and we have confirmation. ... > same time) and I put the money that we would have spent on the butts, ...
    (alt.med.fibromyalgia)