www.gusucode.com > rf 案例源码程序 matlab代码 > rf/StoreOutputPowerAndPhaseSpecificationsOfRFCircuitObjectExample.m
%% Store Output Power and Phase Specifications of RF Circuit Object. % Create an object to store output power and phase specifications using % |rfdata.power|. f = [2.08 2.10]*1.0e9; phase = {[27.1 35.3],[15.4 19.3 21.1]}; pin = {[0.001 0.002],[0.001 0.005 0.01]}; pout = {[0.0025 0.0031],[0.0025 0.0028 0.0028]}; powerdata = rfdata.power powerdata.Freq = f; powerdata.Phase = phase; powerdata.Pin = pin; powerdata.Pout = pout;