inserting multiple values in simulink

5 ビュー (過去 30 日間)
Mujeeb Iqbal
Mujeeb Iqbal 2016 年 10 月 14 日
回答済み: Pritesh Shah 2016 年 10 月 14 日
I have to this in Simulink, I have an equation F=ma , M is constant, F and “a” are variable. I can write this eq in matlab function with one input and output. But I have to insert my ten values of “a” in order to get ten values of F in a table form.
  1 件のコメント
Preethi
Preethi 2016 年 10 月 14 日
hi,
use multiply block and two constant blocks. define the values in command window before simulating the model or you can enter the values in constant block itself. for 'a' use a vector of 10 values

サインインしてコメントする。

回答 (1 件)

Pritesh Shah
Pritesh Shah 2016 年 10 月 14 日
see help of gain block, you will be able to solve your issue.

カテゴリ

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

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by