comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: Matlab Syntax
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Matlab Syntax [message #37027 is a reply to message #37026] Thu, 20 November 2003 12:58 Go to previous messageGo to previous message
Bruce Bowler is currently offline  Bruce Bowler
Messages: 128
Registered: September 1998
Senior Member
On Thu, 20 Nov 2003 13:38:48 -0700, David Fanning put fingers to keyboard
and said:

> Folks,
>
> I need more Matlab help. Here is the line I am
> struggling with:
>
> invAI = inv(A + gamma * diag(ones(1,N)));

Adds 1 to each element of the diagonal

> invARRAY = Invert((ARRAY + gamma) ## Diag_Matrix(Replicate(1,npts)) )

adds 1 to each element of the array...

You need to decide which it is you want to do :-)

Bruce

--
+-------------------+--------------------------------------- ------------+
Bruce Bowler | Praise makes good men better and bad men worse. -
1.207.633.9600 | Thomas Fuller
bbowler@bigelow.org |
+-------------------+--------------------------------------- ------------+
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Byte Swapping
Next Topic: PostScript output from iTools

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Sun Nov 30 05:52:09 PST 2025

Total time taken to generate the page: 1.76643 seconds