How to design a customized sample based signal in Simulink?
显示 更早的评论
I am trying to design a source block in simulink, that takes sample count and data values as inputs and generates a signal corresponding to number of samples and data values for samples specified.
for example, user enters sample count and data value in the mask parameter of the block as [4 5.2;6 3.2]. The block should generate value 5.2 for the duration 4*sample time and value 3.2 for the duration 6*sample time.
sample time is the simulink model sample time set in configuration parameters.
采纳的回答
更多回答(1 个)
luciana lima
2015-8-7
0 个投票
Hi Castro How can I do change frequency when I use source the block repeating sequence stair? Follows my model. Thank you
类别
在 帮助中心 和 File Exchange 中查找有关 Signal Import and Export 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!



