help-octave
[Top][All Lists]
Advanced

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

Re: Writing functions


From: Juan Pablo Carbajal
Subject: Re: Writing functions
Date: Mon, 26 Oct 2015 10:23:07 +0100



On Mon, Oct 26, 2015 at 8:33 AM, Jonathan Camilleri <address@hidden> wrote:
sqrt (x^2 + y^2) # One argument ones (n, m) # Two arguments rand () # No arguments

I cannot figure out how to write these functions in Octave, I keep getting syntax errors.

Regards,


--
Jonathan Camilleri

Mobile (MT): ++356 7982 7113
E-mail: address@hidden
Please consider your environmental responsibility before printing this e-mail.
 


_______________________________________________
Help-octave mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/help-octave


What is exactly your problem?
Is this code not working for you?
sqrt(4)
ones(3,2)
rand()


reply via email to

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