Can i use the gain block just like a function block?
2 ビュー (過去 30 日間)
古いコメントを表示
I want to implement a code (u(1)./K)*tau.^(u(2)) in gain block? Is it possible? I do not want to use fcn block because it generates nx1 matrix because of sampling. I just want to use a single variable to be used in workspace? Is it possible with gain block?
1 件のコメント
Walter Roberson
2013 年 12 月 25 日
I am not sure of the relationship between this question and your earlier http://www.mathworks.co.uk/matlabcentral/answers/109186-how-can-i-use-the-output-of-a-function-block-just-as-a-gain ?
回答 (1 件)
Azzi Abdelmalek
2013 年 12 月 25 日
編集済み: Azzi Abdelmalek
2013 年 12 月 25 日
You can't use a gain block as a function block, and what is the problem with generating an output for each sample, just pick the last one
0 件のコメント
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!