橋平礼の電験三種合格講座

過去50年分以上の電験三種の問題を解いて分かった、電験三種は今も昔も変わりません。過去問を解きながら合格を目指しましょう。

MENU

GO-AHEADの書籍(Scilab Ultra Basics)

 


Scilab Ultra Basics

Scilab Ultra Basics Amazon Kindle版

 

 This is a book for very beginners in Scilab for those who are just starting out with Scilab, 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 Scilab, which is MATLAB compatible software, and then introduce MATLAB. Both MATLAB and Scilab 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 for beginners, MATLAB has been adopted by companies and other organizations due to 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 Scilab first.

 In addition to Scilab, there is also free software that has the same functionality as MATLAB, such as Silab. Octave in particular is compatible with MATLAB.

 In this book, I, a MATLAB-compatible Scilab ultra-beginner, will explain how to use Scilab from the very basics to slightly more advanced applications. The operation in this manual has been checked with Scilab 6.1.1.

 

                            
CONTENTS

1.Introduction

2.Basic Scilab operation
  2.1 Basic operations such as four arithmetic operations
    (1)Installing Scilab
    (2)Four arithmetic operations
    (3)Calculating the remainder
    (4)Bitwise operation
    (5)Convert decimal number to n-decimal number
  2.2 Saving Files
    (1)Saving and Executing Files
    (2)Variable Input
    (3)Range
    (4)Graph Display
  2.3 Exercises

3.Branching and Iteration
  3.1 Use if statement(if statement-1)
  3.2 Use if statement(if statement-2)
  3.3 Use while statements
  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
  5.2 String-2
  5.3 String-3
  5.4 String-4
  5.5 Exercises

6.Function
  6.1 Function-1
  6.2 Function-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
  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)Definite Integration
    (2)Polynomial calculations
    (3)differential equation

8.Xcos
  8.1 How to use Xcos
  8.2 RLC Series Circuit
    (1)Example of RC series circuit
    (2)Example of RLC series circuit
  8.3 Control Systems
    (1)Feedback of primary delay system
    (2)Basics of Lagrange's equations of motion
    (3)Equation of motion of spring
    (4)Equation of motion of a pendulum
    (5)Equations of motion and PID control of rotationally driven rigid bodies

References