Trigonometric Function Perform a trigonometric function Library
Download 314.52 Kb.
|
Compueter Modeling lecture deadline 1
- Bu sahifa navigatsiya:
- Port_1 — Input signal scalar | vector | matrix
- Output Collapse all Port_1 — Output signal scalar | vector | matrix
- Output — Real and/or imaginary output specification Real and imag (default) | Real | Imag
- Sample time — Sample time value other than -1 -1 (default) | scalar | vector
- Supported Functions
Muhammad al-Xorazmiy nomidagi Toshkent axborot texnologiyalari universiteti KIF 214-19 guruh talabasi Oqmirzayev Suhrobning Computer moduling fanidan tayyorlagan mustaqil ishi Theme: Working with Simulink package Trigonometric Function, complex to RealImag blocks. Plan: I.Trigonometric Function II. Complex to Real-Imag III. Variable-size signal basic operations IV. Conclusion V. References. Trigonometric Function Perform a trigonometric function Library Math Operations Description The Trigonometric Function block performs numerous common trigonometric functions. You can select one of these functions from the Function list: sin, cos, tan, asin, acos, atan, atan2, sinh, cosh, and tanh. The block output is the result of the operation of the function on the input or inputs. The name of the function appears on the block icon. Simulink automatically draws the appropriate number of input ports. The block accepts and outputs real or complex signals of type double. Use the Trigonometric Function block instead of the Fcn block when you want dimensionalized output, because the Fcn block can produce only scalar output. Data Type Support A Trigonometric Function block accepts and outputs real or complex signals of type double. Parameters and Dialog Box Function The trigonometric function. Output signal type Type of signal (complex or real) to output. Characteristics Complex to Real-Imag Output real and imaginary parts of complex input signal Libraries: Simulink / Math Operations HDL Coder / Math Operations Description The Complex to Real-Imag block outputs the real and/or imaginary part of the input signal, depending on the setting of the Output parameter. The real outputs are of the same data type as the complex input. The input can be an array (vector or matrix) of complex signals, in which case the output signals are arrays of the same dimensions. The real array contains the real parts of the corresponding complex input elements. The imaginary output similarly contains the imaginary parts of the input elements. Examples Variable-Size Signal Basic Operations.How variable-size signals can be generated. It also illustrates some of the operations that can be applied to them. The purpose of this Measure Frequency Response by Using Complex Data in Stateflow Emulate a spectrum analyzer that measures the frequency response of a continious-time system driven by a complex sinusoidal signal. Port_1 — Input signal
|
Parameter: Output |
Type: character vector |
Values: 'Real and imag' | 'Real' | 'Imag' |
Default: 'Real and imag' |
Sample time — Sample time value other than -1
-1 (default) | scalar | vector
Block Characteristics
Trigonometric Function
Specified trigonometric function on input
Description
The Trigonometric Function block performs common trigonometric functions and outputs the result in rad or rev.
Supported Functions
You can select one of these functions from the Function parameter list.
Conclusion:
I learnt a lot of information about this topic. I will try to use them in my future real life.
References:
https://www.mathworks.com/help/simulink/slref/complextorealimag.html
Download 314.52 Kb.
Do'stlaringiz bilan baham:
Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©fayllar.org 2024
ma'muriyatiga murojaat qiling
ma'muriyatiga murojaat qiling