inserting multiple values in simulink

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 Kommentar

Preethi
Preethi am 14 Okt. 2016
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

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Pritesh Shah
Pritesh Shah am 14 Okt. 2016

0 Stimmen

see help of gain block, you will be able to solve your issue.

Kategorien

Mehr zu Modeling finden Sie in Hilfe-Center und File Exchange

Tags

Gefragt:

am 14 Okt. 2016

Beantwortet:

am 14 Okt. 2016

Community Treasure Hunt

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

Start Hunting!

Translated by