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 Toolbox에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!