convert a sawtooth signal to linear signal in Simulink
4 次查看(过去 30 天)
显示 更早的评论

4 个评论
Mathieu NOE
2022-4-19
I would make another suggestion - why not use the velocity estimation between two successive steps to make like an interpolation (at higher sampling rate vs actual steps rate)
回答(1 个)
Pratyush Swain
2024-2-2
Hi teun,
i understand you want to convert your sawtooth signal into a linear signal.In process of filtering the signal, you used a transfer function but the upper values were no longer measured. One workaround for this is to use look up table to convert the sawtooth signal into a linear signal without loss of values.
Please refer to the following implementation where I have attempted to reproduce the sawtooth signal through "repeating sequence" block and "quantizer" block in simulink, further I used the "1-D look up table" block to filter the signal.

This is the saw tooth signal generated through "repeating signal" and "quantizer" blocks:

This is the output of the filtered signal after look up table:

For more information on "1D look up table" block, please refer to https://www.mathworks.com/help/simulink/slref/1dlookuptable.html
I have also attached the simulink model for reference.
Hope this helps.
0 个评论
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!