MATLAB Answers

I have a row vector consisting of 200 engine speeds. I want to feed one value at a time into an alternator block. How do I do it?

1 ビュー (過去 30 日間)
Asifuz Zaman
Asifuz Zaman 2018 年 7 月 20 日
コメント済み: Birdman 2018 年 7 月 20 日
How do I feed one value at a time from a pool of data. I tried using the matlab function block but it feeds all the data together rather that feeding it one at a time.

  0 件のコメント

Sign in to comment.

採用された回答

Birdman
Birdman 2018 年 7 月 20 日
Use From Workspace block. Define your data at your workspace, and also define a time vector. These two vectors should be nx1, same length and then put them in a new vector called Data, which is nx2. Then use this Data variable in From Workspace block. Hope this helps.

  2 件のコメント

Birdman
Birdman 2018 年 7 月 20 日
You are welcome. You can accept the answer if it helped.

Sign in to comment.

その他の回答 (0 件)

タグ


Translated by