help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: m to oct dictionary


From: Steve C. Thompson
Subject: Re: m to oct dictionary
Date: Thu, 19 Jan 2006 13:09:08 -0800
User-agent: Mutt/1.5.9i

Hi Keith,

This would be a good page for GNU Octave's wiki
(wiki.octave.org).  Please consider initiating this, then others
can help maintain it.

Steve

On 19 Jan 06 13:14PM, Keith Goodman wrote:
> I need help filling in my m-to-oct dictionary. (Are the last 6
> just the same example of calling a built-in oct function?) Can
> you think of any other entries to add?
> 
> a'
> a.transpose()
> 
> a + b
> a + b
> 
> a - b
> a - b
> 
> a.*b
> product(a,b)
> 
> a./b
> quotient(a,b)
> 
> a*b
> a*b
> 
> a/b
> a/b
> 
> a^2
> ???
> 
> a.^2
> ???
> 
> eye(n)
> DiagMatrix(n,n,1)
> 
> a = zeros(n,m)
> Matrix a(n,m,0)
> 
> a = ones(n,m)
> Matrix a(n,m,1)
> 
> repmat(a,3,2)
> ???
> 
> size(a,1)
> a.rows()
> 
> size(a,2)
> a.columns()
> 
> a(:,3)
> a.column(2)
> 
> a(3,:)
> a.row(2)
> 
> a(:,3:5)
> ???
> 
> a(3,:) = b.*c
> a.insert(product(b,c), 2, 0)
> 
> a.*(b > c)
> ???
> 
> [x,y] = max(a)
> ???
> 
> [x,y] = min(a)
> ???
> 
> inv(a)
> ???
> 
> exp(a)
> ???
> 
> log(a)
> ???
> 
> [x,y] = eig(a)
> ???



-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.

Octave's home on the web:  http://www.octave.org
How to fund new projects:  http://www.octave.org/funding.html
Subscription information:  http://www.octave.org/archive.html
-------------------------------------------------------------



reply via email to

[Prev in Thread] Current Thread [Next in Thread]