sparameters and rplot smooth curves
10 views (last 30 days)
Show older comments
Hi,
Is there a way to apply a filter to smooth the curves of s-parameter data when using the functions sparameters and rfplot.
I found the answer below but was wonder if there is a simpler method of applying a filter to s-parameter data.
https://www.mathworks.com/matlabcentral/answers/203698-r2013a-rf-toolbox-how-do-i-smooth-the-parameters-of-an-s-parameter-object
Thank you.
0 Comments
Answers (1)
Sai Kiran
on 6 Mar 2023
Hi,
The sparameters function doesn't include built-in functionality to smooth out the data, so in order to apply a filter to smooth the s-parameters data, additional processing steps are required.
We can use 'smoothdata' function or any user defined filters from DSP ToolBox. Please refer to the following documentations for more information.
I hope it helps!
Thanks
Sai Kiran Ratna
2 Comments
Sai Kiran
on 7 Mar 2023
Hi,
The sparameters throws the results in the form of objects so you have to take out the data from it and do the processing. In built filters doesn't support different datatypes.
You have to extract the data from the sparameters and then pass it back to the filter for further processing.
I hope it clarifies your query.
Thanks.
See Also
Categories
Find more on 2-D and 3-D Plots 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!