2.3 Docking The graphics in Scilab version 5 has been updated so that many components are now based on Java. This has a number of advantages, including the possibility to manage docking windows.
The docking system uses Flexdock[12], an open-source project providing a Swing docking framework. Assume that we have both the console and the editor opened in our environment, as presented in fgure 8. It might be annoying to manage two windows, because one may hide the other, so that we constantly have to move them around in order to actually see what happens.
+ addition - subtraction * multiplication / right division, i.e. x=y = xy1 \ left division, i.e. xny = x1y ^ power, i.e. xy ** power (same as ^) ' transpose conjugate
When an executable statement is too long to be written on a single line, the second and subsequent lines are called continuation lines. In Scilab, any line which ends with two dots is considered to be the start of a new continuation line. In the following session, we give examples of Scilab comments and continuation lines. -->// This is my comment . -->x =1.. - - >+2.. - - >+3.. -->+4 x = 10. See the section 3.13 for more details on this topic.
where i is the starting subscript and j is the ending subscript with i j. This creates the vector v = (i; i + 1; : : : ; j). In the following session, we create a vector of subscripts from 2 to 4 in one statement. -->v = 2:4 v = 2. 3. 4.
xget - Scilab Online Help help.scilab.org › Scilab help › Graphics - キャッシュ 2011年10月5日 – Please note that the recommended version of Scilab is 5.4.0. This page might be outdated. ... Get the auto clear status ( "on" or "off" ). ... This keyword is obsolete, please use xget("color") or xget("line style") instead.
Scilabでシリアル通信 (パソコン/Windowsの設定) 前回までに 以下の項目について説明しました。 Serial Communication Toolboxのインストール方法 Serial Communication Toolboxのコマンド( openserial, closeserial )
-->xcos();
で試運転開始、サイン信号とクロック信号をオシロ風表示に
連結して、扱い紹介サイトのサンプル設定に近づけてみた、
結果画像などを合成してみました。
2012/12/22(土) 午後 4:25返信する
Xcos:入門
Scilab-2.2.0 にバージョンアップした環境での説明
http://alk.fam.cx/scicos_010.html
2012/12/22(土) 午後 4:32返信する
YAKAMI DICOM ツール集(フリーの DICOM Viewer/Converter/etc.)
www.kuhp.kyoto-u.ac.jp/~diag_rad/.../dicom_tools.ja.html - キャッシュ
1.2.0.0 以降で利用可能な「コマ落ち無し描画」を有効にするには、 Windows Aero が有効になっている必要があります。 2012/11/25 New! この DICOM Viewer のコマ落ち無し描画機能について RSNA 2012 で 11/25(日) 12:30-13:30 に発表しました。 ご関心 ...
2012/12/23(日) 午前 6:11返信する
Xcosは、
Scilabメニューの
[アプリケーション]→[Xcos]で起動出来ます。
-->xcos();
2012/12/23(日) 午前 6:26返信する
信号源(ソース) > ステップ入力(STEP_FUNCTION)、CLOCK_c
ステップ入力
パラメータの説明
モジュールを選択してから、メニューの
編集 > ブロックパラメータ > (必要な数値を設定する)
連続時間システム > CLR:伝達関数:(Numerator,Denominator)
出力/表示:グラフ表示 > CSCOPE
サンプル
http://alk.fam.cx/scicos_020.html
を参考に最新版に入力してみる
2012/12/23(日) 午前 7:18返信する
伝達関数 Numerator 1 分子の式
Denominator 2+3*s+s^2 分母の式
http://alk.fam.cx/scicos_020.html
今回のポイントは各モジュールを選択して、
1/(2+3*s+s^2)
なる数式の分母をDenominator 2+3*s+s^2 分母の式
として入力すると当然の結果として同じグラフが表示されました。
作動は確認できましたが、やはり運動方程式から伝達関数への展開が
ポイント
2012/12/23(日) 午前 8:01返信する
readxls
Excelファイルを読み込む
呼び出し手順
sheets = readxls(file_path)
http://help.scilab.org/docs/5.3.2/ja_JP/readxls.html
2012/12/23(日) 午前 8:07返信する
Scilab- データの読み込み
Wooldridgeのデータを読み込む方法
エクセルで成形→.txtで保存→.rawに拡張子を変更。
行列がそろっていれば読み込まれるはず。
注意:エクセルから保存するときは、「スペース区切りのtxt」にすること。そうしないと.rawファイルで
行列がそろわない。
http://blog.livedoor.jp/pochi184/archives/507601.html
2012/12/23(日) 午後 0:01返信する
Scicosで遊ぼう
http://www.bekkoame.ne.jp/~ponpoko/Math/scicos.html
http://www.bekkoame.ne.jp/~ponpoko/Math/MathIndex.html
グラフ表示機能
2012/12/23(日) 午後 1:07返信する
scilab で、AM変調信号のFFT表示をやってみる
http://blogs.yahoo.co.jp/susanoo2001_hero/4804925.html
2012/12/23(日) 午後 5:31返信する
Scilabで大容量のCSV(テキスト)ファイルを読み込む
http://hotic.blog129.fc2.com/blog-entry-8.html
テキストファイルを読み込む関数としては、
・read関数
・fscanMat関数
・read_csv関数
・mfscanf関数
2012/12/23(日) 午後 7:10返信する
csvRead
http://help.scilab.org/docs/5.4.0/ja_JP/csvRead.html
2012/12/23(日) 午後 8:55返信する
-->X=csvRead('E:/scilab/o2sensor.txt')
-->X=csvRead('E:/scilab/o2sensor.csv')
2012/12/24(月) 午前 0:21返信する
ビギナーのための科学技術計算ソフト(Scilab)の使い方講座
http://www.simcir.co.jp/Scilab/Scilab_howtouse3.html
2012/12/26(水) 午後 0:49返信する
-->editor()
//Scilab専用のエディタが開く
http://www.simcir.co.jp/Scilab/Scilab_howtouse1.html#using_editor
2012/12/26(水) 午後 5:31返信する
2.3 Docking
The graphics in Scilab version 5 has been updated so that many components are
now based on Java. This has a number of advantages, including the possibility to
manage docking windows.
http://www.igpm.rwth-aachen.de/jarausch/NA_III/SciLab/introscilab_v1.7.pdf
2012/12/26(水) 午後 5:44返信する
The docking system uses Flexdock[12], an open-source project providing a Swing docking framework. Assume that we have both the console and the editor opened in our environment, as presented in fgure 8. It might be annoying to manage two
windows, because one may hide the other, so that we constantly have to move them around in order to actually see what happens.
2012/12/26(水) 午後 5:50返信する
+ addition
- subtraction
* multiplication
/ right division, i.e. x=y = xy1
\ left division, i.e. xny = x1y
^ power, i.e. xy
** power (same as ^)
' transpose conjugate
http://www.igpm.rwth-aachen.de/jarausch/NA_III/SciLab/introscilab_v1.7.pdf
2012/12/26(水) 午後 6:25返信する
When an executable statement is too long to be written on a single line, the
second and subsequent lines are called continuation lines. In Scilab, any line which
ends with two dots is considered to be the start of a new continuation line. In the
following session, we give examples of Scilab comments and continuation lines.
-->// This is my comment .
-->x =1..
- - >+2..
- - >+3..
-->+4
x =
10.
See the section 3.13 for more details on this topic.
2012/12/26(水) 午後 6:31返信する
4.6 The colon ":" operator
The simplest syntax of the colon operator is the following:
v = i:j
2012/12/26(水) 午後 6:42返信する
where i is the starting subscript and j is the ending subscript with i j. This
creates the vector v = (i; i + 1; : : : ; j). In the following session, we create a vector
of subscripts from 2 to 4 in one statement.
-->v = 2:4
v =
2. 3. 4.
2012/12/26(水) 午後 6:43返信する
xget - Scilab Online Help
help.scilab.org › Scilab help › Graphics - キャッシュ
2011年10月5日 – Please note that the recommended version of Scilab is 5.4.0. This page might be outdated. ... Get the auto clear status ( "on" or "off" ). ... This keyword is obsolete, please use xget("color") or xget("line style") instead.
2012/12/27(木) 午前 1:23返信する
Scilab 5.2 からの日本語メニュー « scilab 情報ブログ
scilabinfo.wordpress.com/.../scilab-5-2-からの日本語メニュ... - キャッシュ
2010年3月5日 – Scilab 5.2 から本格的に2バイト言語が扱えるようになったようです。 メニューが ... 修正したScilab-4.1.2,ScicosLab-4.4… への ... フリーソフト Scilab 活用講座資料(2012/8/ 24) · フリーソフト Scilab 活用講座資料(2011/3/3) · Scilab Tips ...
2012/12/27(木) 午後 7:02返信する
CSVファイルの読込が高速化
この機能は、従来、別モジュールとしてAtomsでインストールする必要があったものをマージしたものです。従来の標準のCSV読み書き関数(read_csv, write_csv)は動作が遅かったのですが、今回導入された関数(csvRead, csvWrite)を使用すると、数10倍に動作が高速化されます。
http://d.hatena.ne.jp/rui_hi/20121006/1349492221
2012/12/27(木) 午後 7:21返信する
v = csvRead("dat.csv"); // CSVファイルを読み込む
2012/12/27(木) 午後 7:27返信する
Scilab 5.4.0 の文字化け(Windows7-64bitの場合)
http://digitalcreation-s.blogspot.jp/2012/11/scilab-540-windows7-64bit.html
Scilabでシリアル通信 (パソコン/Windowsの設定)
前回までに 以下の項目について説明しました。
Serial Communication Toolboxのインストール方法
Serial Communication Toolboxのコマンド( openserial, closeserial )
http://digitalcreation-s.blogspot.jp/2011/06/scilab-windows.html
2013/1/2(水) 午前 6:31返信する
Xcos
scilabの使い方8
http://plaza.rakuten.co.jp/ocuyoiko/diary/?ctgy=1
2013/7/8(月) 午後 9:26返信する
グラフが描けたら,画像をファイルに出力するか,Windowsのコピー&ペーストを行うことができる。
(1)画像をファイルに出力:
このウインドウのFileメニューからExportコマンドを選び,ダイアログで
「Export」欄を「GIF」にするとGIFファイルが作成される。
(2)Windowsのコピー&ペースト
このウインドウのファイルメニューからクリックボードへコピーでEnhMetafileとして
コピーし,MicrosoftWordなどで編集メニューから「形式を選択して貼り付
け」コマンドで図(拡張メタファイル)で貼り付ける。
http://coskx.web.fc2.com/mrr/for_students/scilab2012/scilab02.html
2013/7/8(月) 午後 10:40返信する
// test_patch.sce
clear; xdel(winsid());
// Vertices
x(1)=1; y(1)=0; z(1)=0;
x(2)=0; y(2)=2; z(2)=0;
x(3)=0; y(3)=0; z(3)=3;
// Draw patch
figure(1);
plot3d(x,y,z);
// Axes settings
xlabel("x",'fontsize',2);
ylabel("y",'fontsize',2);
zlabel("z",'fontsize',2);
h_axes = gca();
h_axes.font_size = 2;
h_axes.isoview = "on";
h_axes.box = "off";
h_axes.rotation_angles = [59,52];
h_axes.data_bounds = [-1.5,-0.5,0;2.5,2.5,3];
xgrid;
http://www.sky-engin.jp/ScilabAnimation/
2013/7/14(日) 午前 6:17返信する
4. Plot3dで多角形面を作成
剛体のアニメーションを作成する際には、まずその剛体を表す形状を作成しなくてはなりません。Scilabで3次元形状を作成するには「plot3d」が利用できます。plot3dにより多角形の面(パッチ)を描くことができます。パッチを組み合わせれば、任意の多面体を作ることができます。
例として、(1,0,0)、(0,2,0)、(0,0,3) の3点を頂点とする三角形のパッチを描くScilabスクリプトをコード1に示します。このスクリプトによって描かれるパッチを図1に示します。
2013/7/14(日) 午前 6:18返信する
コード1: (1,0,0), (0,2,0), (0,0,3)の3点を頂点とする三角形パッチを描くScilabスクリプト
http://www.sky-engin.jp/ScilabAnimation/chap04/chap04.html
2013/7/14(日) 午前 6:19返信する
// test_patch.sce
clear; xdel(winsid());
// Vertices
x(1)=1; y(1)=1; z(1)=0;
x(2)=2; y(2)=1; z(2)=1;
x(3)=0; y(3)=0; z(3)=3;
// Draw patch
figure(1);
plot3d(x,y,z);
// Axes settings
xlabel("x",'fontsize',2);
ylabel("y",'fontsize',2);
zlabel("z",'fontsize',2);
h_axes = gca();
h_axes.font_size = 2;
h_axes.isoview = "on";
h_axes.box = "off";
h_axes.rotation_angles = [59,52];
h_axes.data_bounds = [-1.5,-0.5,0;2.5,2.5,3];
xgrid;
まだ、イメージと指示に相違があるようだ。
2013/7/14(日) 午前 7:27返信する
-->// test_patch.sce
-->
--> clear; xdel(winsid());
-->
--> // Vertices
--> x(1)=1; y(1)=0; z(1)=0;
--> x(2)=0; y(2)=2; z(2)=0;
--> x(3)=0; y(3)=0; z(3)=5;
-->
2013/7/14(日) 午前 8:05返信する
--> // Draw patch
--> figure(1);
--> plot3d(x,y,z);
-->
--> // Axes settings
--> xlabel("x",'fontsize',2);
--> ylabel("y",'fontsize',2);
--> zlabel("z",'fontsize',2);
--> h_axes = gca();
--> h_axes.font_size = 2;
--> h_axes.isoview = "on";
--> h_axes.box = "off";
--> h_axes.rotation_angles = [59,52];
--> h_axes.data_bounds = [-1.5,-0.5,0;2.5,2.5,3,3.5,4,4.5,5];
!--error 6
一貫性がない 行/列 次元
2013/7/14(日) 午前 8:06返信する
[PDF]
波形解析のための数値計算ソフト Scilab入門 - CQ出版社
www.cqpub.co.jp/hanbai/books/49/49501/49501.pdf
Scilab. 入門. 卒論や. レポート作成. にも役立つ! 信号の解析手法を. 体験学習! ◉ノイズ解析◉ウェーブレット解析◉フーリエ解析. ◉パラメトリック法◉ ... もっとも重要なポイント は,データのなかに何を見るか,数の並びから何を引き出すか,. ここが大事なポイント ...
http://www.cqpub.co.jp/hanbai/books/49/49501/49501.pdf
2013/7/14(日) 午後 6:26返信する
CSVファイルを読み込むには?
read_csv()関数を使用します。デフォルトがおフランスモードなので、第2引数のセパレータに','を指定します。
x1 = read_csv(TMPDIR+'/test.csv',',');
http://www.geocities.jp/rui_hirokawa/scilab/scilab_tips.html
2013/11/11(月) 午後 2:32返信する
関数の作成
http://www.crystal-creation.com/robot/technical-information/numerical-analysis/scilab/function/
function [ 出力変数 ] = 関数名( 入力変数 )
読み込みはexec関数で行います。(以前のgetf関数)
-->exec( 'c:\scilab\FileName.sci' )
関数名に引数を指定して、関数を実行します。たとえば前述の関数を呼び出すならば、
-->Foo( 2 )
とすると、
ans =
4.
のように出力されます。実際の画面では
2013/11/11(月) 午後 2:39返信する
Scilab でGUI作成 (例題 Part1)
http://digitalcreation-s.blogspot.jp/2012/10/scilab-gui-part1.html
2013/11/11(月) 午後 2:43返信する
コンソールで<guibuilder>とコマンドを打ち込むと、GUI Builderが起動します。
http://digitalcreation-s.blogspot.jp/2012/10/gui-builder.html
2013/11/12(火) 午前 0:22返信する
A Graphic User Interface Builder
guibuilder — GUI Builder(グラフィック・ユーザーインターフェイスビルダー)の起動。
guicontrolcreate — GUI Builderに対し、uicontrolを生成文を作る関数。
guigencode — GUI Builderで構築した画面からScilab sceファイルを生成する関数。
guigetfile — 修正するGUI画面をGUI Builderにインポートするために用いられる関数。
guipropsedit — Uicontrol プロパティ・エディタの起動。
http://digitalcreation-s.blogspot.jp/2012/10/scilab-gui-builder.html
2013/11/12(火) 午前 1:17返信する
Scipad
SciNote
sqrt
sqrt
平方根
呼び出し手順
y=sqrt(x)
パラメータ
x
実数または複素数のスカラーまたはベクトル
説明
sqrt(x) は x の要素の平方根のベクトルです. xが負の場合,結果は複素数となります.
例
sqrt([2,4])
sqrt(-1)
参照
hat — (^) 累乗
sqrtm — 行列の平方根
https://help.scilab.org/docs/5.5.0/ja_JP/sqrt.html
http://optphys.sci.hokudai.ac.jp/~sekika/wiki/?Scilab%B4%CA%B0%D7%A5%EA%A5%D5%A5%A1%A5%EC%A5%F3%A5%B9
2015/1/18(日) 午前 6:16返信する