DSP Toolbox : Array Plot Sample Increment Configuration for Simulink
Show older comments
Hello,
I would like to know about the configuration settings suggestion for the Array Plot module present in the DSP System Toolbox for Simulink. The model design consists of a Discrete Sine Wave generator. The Sine wave source generates 1 Hz eqivalent 'Double' sine elements with a sampling time of (1/1000) seconds.
In the Array plot, Configuration properties: -
- X-Data mode = Sample Increment and X-Offset
- Sample Increment = (1/1000)
- X-Offset = 0
- The resultant is stepwise plot of discrete elements representing the sine wave at x=0 for all sampling times. There is no x-displacement appearing in the array plot.
- Second Attempt:
- X-Data Mode = Custom
- Sample Increment = linspace(1,100) % declared in MATLAB workspace as variable
Second Attemmpt, generates the same results as step 1.
Please advise. Thank you
Accepted Answer
More Answers (0)
Categories
Find more on Array and Matrix Mathematics in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!