Re: use indices within an element



On Wed, 28 Jan 2009 16:49:02 -0500, Philip <pvjthoremovethismas@xxxxxxxxx> wrote:

Sorry I spent a good deal of time looking this up but I think the keywords are too common to do a good search. I am talking about matrices of mxn dimensions where i is row index and j is column.

I am trying to create a matrix whose entries are f(j-i), where f is a function call that I will choose.

I figured it would be good to start by making a matrix whose entries are (j-i).

I can easily make a row or a column vector using 1:n or 1:m, but that's as far as I can get. Any ideas?

Am I missing a command to assign a matrix element a function of its row and column indices?

No "removethis" in my e-mail, naturally.


Would MESHGRID help?
.



Relevant Pages

  • Re: helper.sig folder on bootup
    ... you'll probably find two entries ... Also delete the Common folder if the "helper" files are probably ther ... It looks like you need to scour your system for malware / adware / spyware. ... and installing adware. ...
    (microsoft.public.windowsxp.perform_maintain)
  • Re: how to copy live paradox tables
    ... from this common table. ... automatically make an entry into a common table which is located in the ... these entries are added or deleted from this common table. ... if a user would somehow quit their Paradox app in an unorthodox ...
    (comp.databases.paradox)
  • Re: helper.sig folder on bootup
    ... you'll probably find two entries ... Also delete the Common folder if the "helper" files are probably ther ... It looks like you need to scour your system for malware / adware / spyware. ... and installing adware. ...
    (microsoft.public.windowsxp.perform_maintain)
  • use indices within an element
    ... Sorry I spent a good deal of time looking this up but I think the keywords are too common to do a good search. ... I am trying to create a matrix whose entries are f, where f is a function call that I will choose. ...
    (comp.soft-sys.matlab)

Loading