תכנות נומרי עם Matlab ו-Octave/הכנה: הבדלים בין גרסאות בדף

תוכן שנמחק תוכן שנוסף
Atavory (שיחה | תרומות)
Atavory (שיחה | תרומות)
שורה 15:
 
 
 
==עבודה בסיסית==
 
העבודה הבסיסית בMatlab וOctave היא אינטראקטיבית: מקלידים פקודה בשורת הפקודה, התוכנה מפענחת אותה, ולאחריה מקלידים את הפקודה הבאה.
 
===Matlab===
 
{{להשלים}}
 
כאן צריך כנראה להסביר איפה שורת הפקודה במטלב, אבל אין לי מושג.
 
===Octave===
 
פתח חלון פקודות, והקלד octave (באותיות קטנות). מיד תראה הודעת פתיחה, ולאחריה ציין:
<source lang = "matlab">
GNU Octave, version 2.9.12
Copyright (C) 2007 John W. Eaton and others.
This is free software; see the source code for copying conditions.
There is ABSOLUTELY NO WARRANTY; not even for MERCHANTIBILITY or
FITNESS FOR A PARTICULAR PURPOSE. For details, type `warranty'.
 
Octave was configured for "i486-pc-linux-gnu".
 
Additional information about Octave is available at http://www.octave.org.
 
Please contribute if you find this software useful.
For more information, visit http://www.octave.org/help-wanted.html
 
Report bugs to <bug@octave.org> (but first, please read
http://www.octave.org/bugs.html to learn how to write a helpful report).
 
For information about changes from previous versions, type `news'.
 
octave:1>
</source>
 
== פקודות בסיסיות ==