Convert frequency units on sparameters object
显示 更早的评论
I'd like to mitigate the amount of manual labour in formating my plots. I have 2-port touchstone file (.s2p) some of them are in Hz and some using GHz, but rfplot seems to default to Hz when I'd like to use GHz.
FileName = 'ArbitraryTouchstone.s2p';
S = sparameters(FileName);
rfplot(S, 1, 1);
I suspect there is an extra parameter, or maybe it can be with one or two lines of code to plot the data in GHz instead of Hz. I've seen FrequencyUnits properties for frd or writing, chgFreqUnit() for systems, but I'm not seeing the approach or equivalent for rf data or sparameter objects.
Thanks!
回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 RF Network Construction 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!