Serialize continuous column vector signal to scalar

2 ビュー (過去 30 日間)
Rilwanu Ar Roiyyaan
Rilwanu Ar Roiyyaan 2022 年 9 月 20 日
回答済み: Vidip Jain 2023 年 9 月 5 日
Hello everyone
I have nx1 continuous input vector that I need to feed to my simscape network. This simscape network demands scalar input since it is a voltage controlled block. Is there any way to serialize this to scalar?
Thank you

回答 (1 件)

Vidip Jain
Vidip Jain 2023 年 9 月 5 日
I understand that you want to feed a continuous input vector with nx1 dimensions into a Simulink/Simscape network that expects a scalar input, you can consider various approaches depending on the specific requirements of your system. Here are a few common strategies:
  • Signal Conditioning Block: You can create a custom Signal Conditioning block using Simulink or Simscape to perform continuous processing on the input vector and convert it into a scalar value. This block should take the nx1 continuous input vector as an input and use appropriate mathematical operations (such as integration, summation, or custom calculations) to generate a continuous scalar output.
  • Custom MATLAB Function: You can also create a custom MATLAB Function block within Simulink to perform complex continuous operations on the input vector. This MATLAB Function block can take the continuous vector as an input and return a continuous scalar output based on your defined computations.

カテゴリ

Help Center および File ExchangeModeling についてさらに検索

製品


リリース

R2022a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by