![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1086560/image.png)
Help needed on Simulink onRamp tutorial on Discrete Systems the very first Task.
24 次查看(过去 30 天)
显示 更早的评论
Hi,
This is my first time with Matlab. I was going through the Simulink OnRamp tutorial for Discrete systems.
All I have to do is add a SineWave source with sample time of 0.25 and connect this signal to Signal Assessment block.
It keeps throwing error --> Inputs must be 2D
When I checked the solution, there is a check box below sample time, which says Interpret vector as 1D. However, I do not see this checkbox, when I double click on the SineWave block.
Please guide.
0 个评论
回答(1 个)
vamshi sai yele
2022-8-3
Hi Gautam,
As per my understanding you want to change the Sample Time to 0.25 and you are unable to find the same in Signal Assessment Block.
I recommend you start a fresh with the steps below which would help you to understand better.
You need to drag and drop a sine wave block from Library>sources>sine wave and double click on it to open Signal Assessment Block. Once you are on it, scroll down to find the ‘Sample time’ and their update it to 0.25 as required.
To summarize, Place sine wave block> double click to open Signal Assessment Block>scroll down>update Sample time to 0.25.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1086560/image.png)
You can refer to the image above for detailed information.
0 个评论
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!