Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
6.1.1 - 日本語

Change language to:
English - Français - Português - Русский

Please note that the recommended version of Scilab is 2024.0.0. This page might be outdated.
See the recommended documentation of this function

Scilabヘルプ >> Elementary Functions > elementarymatrices > squarewave

squarewave

周期 2*%piの矩形波を生成

呼び出し手順

x=squarewave(t [,percent])

引数

t

実数ベクトル, 離散時間

x

実数ベクトル, 各時間における集合 (-1,+1)の波の値

percent

実数の正のスカラー値で, 信号の符号が正となる周期の割合. デフォルト値は 50

説明

squarewave(t)tベクトルで指定された点において 周期 2*%pi の矩形波の値からなるベクトルを 生成します.

squarewave(t,%)%が信号が正となる周期の割合(パーセント)となるような 矩形波を生成します.

t = (0:0.1:5*%pi)';
plot2d(t, [2*sin(t), 1.5*squarewave(t), squarewave(t,10)])

参照

  • sin — 正弦関数
  • cos — 余弦関数
Report an issue
<< repmat elementarymatrices testmatrix >>

Copyright (c) 2022-2023 (Dassault Systèmes)
Copyright (c) 2017-2022 (ESI Group)
Copyright (c) 2011-2017 (Scilab Enterprises)
Copyright (c) 1989-2012 (INRIA)
Copyright (c) 1989-2007 (ENPC)
with contributors
Last updated:
Mon Jan 03 14:37:47 CET 2022