Tags
Language
Tags
April 2024
Su Mo Tu We Th Fr Sa
31 1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30 1 2 3 4

How To start Beginner Octave

Posted By: TiranaDok
How To start Beginner Octave

How To start Beginner Octave by Toshinori Fujii
English | October 20, 2022 | ISBN: N/A | ASIN: B0BJZMZLR3 | 163 pages | EPUB | 6.19 Mb

 This is a book for very beginners in Octave, sent to those who are going to work with Octave, a free software and highly compatible with MATLAB before using MATLAB.

 MATLAB is a high-performance programming language for scientific and engineering calculations. In recent years, AI tools have been introduced that can perform both basic and advanced calculations and are becoming essential tools for AI learning. However, they are expensive to purchase individually.

 Therefore, we assume that you will first study with Octave, which is MATLAB compatible software, and then introduce MATLAB. Both MATLAB and Octave were originally created to handle matrix calculations easily. Later, functions such as GUI and graph drawing were added, and it is used not only in the fields of electrical engineering, mechanical engineering, mathematics, physics, and information, but also in the humanities, such as economics and statistics. Although it is often avoided because of its high cost and difficulty, MATLAB has been adopted by companies and other organizations because of its powerful computing capabilities and graphical GUI, and there is no reason not to use MATLAB. However, MATLAB is expensive, so the idea is to practice with Octave first.

 In addition to Octave, there are other free software programs that are equivalent to MATLAB, such as Silab. Octave in particular is compatible with MATLAB.

 In this book, I, a MATLAB-compatible Octave ultra-beginner, will explain the very basic and slightly more applied uses of Octave.

CONTENTS

1.Introduction

2.Basic Octave Operation
 2.1 Basic operations such as four arithmetic operations
  (1)Starting Octave
  (2)Four arithmetic operations
  (3)Value Format
  (4)Calculating the remainder
  (5)Increment, decrement
  (6)Bit operation
  (7)Convert decimal number to n-decimal number
 2.2 Save to File
 (1)Saving and Executing Files
  (2)Variable Input
  (3)Range
  (4)Graph Display
 2.3 Exercises

3.Branching and iteration
 3.1 Using if statements(if statement-1)
 3.2 Using if statements(if statement-2)
 3.3 Use a while statement
 3.4 Use a for statement(for-1)
 3.5 Use break statements(for-2)
 3.6 Use switch statements
 3.7 Exercises

4.Array (matrix)
 4.1 matrix
 4.2 Generation of random numbers
 4.3 Sort
 4.4 2-row matrix
 4.5 Calculation of a 2x2 matrix
 4.6 Output to file
 4.7 Reading and Writing Files
 4.8 Exercises

5.Character String
 5.1 String variable program
 5.2 String variable program-2
 5.3 String variable program-3
 5.4 String variable program-4
 5.5 Exercises

6.Function
 6.1 Using Functions
 6.2 Using Functions-2

7.Mathematical calculations
 7.1 calculating the values of two unknown quantities from their unit total and the total of one of their attributes
 7.2 Pi (3.1415926..)
7.3 Graphs
(1)Proportional and inverse proportional graphs
  (2)Three-dimensional graphs
 7.4 Vector
  (1)plane vector
  (2)Space Vector
  (3)Equations of lines and planes
(4)Equation of a sphere
 7.5 Matrix
  (1)Matrix sum, difference, and product
  (2)Identity matrix, transpose matrix, inverse matrix
  (3)Solution of simultaneous linear equations
  (4)Determinant and Eigenvalues
 7.6 Differentiation and Integration
  (1)Indefinite and Definite Integral
  (2)Differentiation of polynomials
 7.7 Other Calculations
(1)Factorization and Expansion
  (2)Differential equations
  (3)Bode diagram
  (4)Vector locus
  (5)Phase margin, Gain margin
 7.8 Other useful functions
(1)Up arrow "↑" key in command window
  (2)Indent
  (3)Automatic Insertion of Comments
  (4)Help on command window


References