|
From: | Juan Pablo Carbajal |
Subject: | Re: Writing functions |
Date: | Mon, 26 Oct 2015 11:21:17 +0100 |
Not really, I have no idea how to write a function and write it in the Octave command line or the editor. The editor has a button which looks like it is going to compile but I have no idea how to test these functions, unfortunately, looks like I have to do more work.On 26 October 2015 at 10:23, Juan Pablo Carbajal <address@hidden> wrote: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 argumentsI 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()--Jonathan Camilleri
Mobile (MT): ++356 7982 7113
E-mail: address@hidden
Please consider your environmental responsibility before printing this e-mail.
I usually reply to emails within 2 business days. If it's urgent, give me a call.Business Services https://www.facebook.com/jonbusinessservices?ref=hl,and, angel start-up investment opportunities available at http://slyth3.wix.com/jon-business.Donation page https://www.facebook.com/DonateToJonathan?ref=hlVision Engineering https://www.facebook.com/pages/Vision-Engineering-Operations/694816873919304?ref=hlVintage Malta https://www.facebook.com/VintageMalta?ref=hlAnimal Protection https://www.facebook.com/pages/Animal-protection/751825621519091?ref=hlOnline resume is available online at http://mt.linkedin.com/in/jonathancamilleri and shared bookmarks at https://delicious.com/jon80.Doing business in Malta - https://www.gov.mt/en/About%20Malta/Doing%20Business%20in%20Malta/Pages/Doing-Business-in-Malta.aspx, presented by the Government of Malta.http://www.ccmalta.com/doing-business-in-malta/, presented by CC Advocates.http://www.kpmg.com/MT/en/IssuesAndInsights/Doing%20Business%20in%20Malta/Documents/KPMG%20Tax%20Report.pdf, prepared by KPMG.
[Prev in Thread] | Current Thread | [Next in Thread] |