📄 koe_channel_awgn.mdl
字号:
InitialOutput "[]" } Line { SrcBlock "Dynamic AWGN" SrcPort 1 DstBlock "Out" DstPort 1 } Line { SrcBlock "In" SrcPort 1 DstBlock "Dynamic AWGN" DstPort 1 } Line { SrcBlock "Random\nNumber" SrcPort 1 DstBlock "Dynamic AWGN" DstPort 2 } Line { SrcBlock "Variance" SrcPort 1 DstBlock "Dynamic AWGN" DstPort 3 } } } Block { BlockType Constant Name "Constant" Position [285, 25, 315, 55] Value "1" } Block { BlockType Reference Name "Direct ber calculation1" Ports [2, 1, 0, 0, 0] Position [177, 525, 363, 625] Orientation "down" NamePlacement "alternate" SourceBlock "utra_lib/Test functions/Direct ber calculation" SourceType "" N "N" nFrames "1/16" } Block { BlockType Display Name "Display1" Ports [1, 0, 0, 0, 0] Position [225, 690, 315, 720] Orientation "down" NamePlacement "alternate" ShowName off Format "short" Decimation "1" Floating off SampleTime "-1" } Block { BlockType Display Name "Display6" Ports [1, 0, 0, 0, 0] Position [56, 345, 144, 395] Orientation "down" NamePlacement "alternate" ShowName off Format "short" Decimation "1" Floating off SampleTime "-1" } Block { BlockType Display Name "Display7" Ports [1, 0, 0, 0, 0] Position [465, 330, 555, 390] Orientation "down" NamePlacement "alternate" ShowName off Format "short" Decimation "1" Floating off SampleTime "-1" } Block { BlockType Display Name "Display8" Ports [1, 0, 0, 0, 0] Position [580, 15, 650, 35] Orientation "up" ShowName off Format "short" Decimation "1" Floating off SampleTime "-1" } Block { BlockType ToWorkspace Name "To Workspace1" Position [325, 160, 385, 190] ShowName off VariableName "out" Buffer "inf" Decimation "1" SampleTime "-1" SaveFormat "Matrix" } Block { BlockType ToWorkspace Name "To Workspace2" Position [325, 240, 385, 270] ShowName off VariableName "delay" Buffer "inf" Decimation "1" SampleTime "-1" SaveFormat "Matrix" } Block { BlockType ToWorkspace Name "To Workspace22" Position [280, 330, 340, 360] Orientation "down" NamePlacement "alternate" ShowName off VariableName "q_out" Buffer "inf" Decimation "1" SampleTime "-1" SaveFormat "Matrix" } Block { BlockType ToWorkspace Name "To Workspace23" Position [295, 640, 355, 670] ShowName off VariableName "ber" Buffer "inf" Decimation "1" SampleTime "1/16" SaveFormat "Matrix" } Block { BlockType ToWorkspace Name "To Workspace24" Position [360, 475, 420, 505] Orientation "down" NamePlacement "alternate" ShowName off VariableName "q2_out" Buffer "inf" Decimation "1" SampleTime "-1" SaveFormat "Matrix" } Block { BlockType ToWorkspace Name "To Workspace25" Position [655, 45, 715, 75] ShowName off VariableName "a_out" Buffer "inf" Decimation "1" SampleTime "1/16" SaveFormat "Matrix" } Block { BlockType ToWorkspace Name "To Workspace26" Position [655, 85, 715, 115] ShowName off VariableName "b_out" Buffer "inf" Decimation "1" SampleTime "1/16" SaveFormat "Matrix" } Block { BlockType ToWorkspace Name "To Workspace3" Position [40, 260, 100, 290] Orientation "left" NamePlacement "alternate" ShowName off VariableName "in" Buffer "inf" Decimation "1" SampleTime "-1" SaveFormat "Matrix" } Block { BlockType ToWorkspace Name "To Workspace4" Position [325, 200, 385, 230] ShowName off VariableName "chan1" Buffer "inf" Decimation "1" SampleTime "-1" SaveFormat "Matrix" } Block { BlockType Reference Name "channel2" Ports [2, 4, 0, 0, 0] Position [165, 155, 300, 315] ForegroundColor "blue" ShowName off FontName "helvetica" FontWeight "bold" SourceBlock "utra_lib/Channel models/channel2" SourceType "" N "N" nSlot "16" RM "1" DM "0" HP "1" snr "10" P "2" nCode "1" } Block { BlockType Reference Name "hard decission" Ports [1, 1, 0, 0, 0] Position [305, 395, 405, 435] Orientation "down" NamePlacement "alternate" SourceBlock "utra_lib/Test functions/hard decission" SourceType "" mode on N "N" thres "0" nFrames "1/16" } Block { BlockType Reference Name "source_2" Ports [0, 2, 0, 0, 0] Position [20, 177, 105, 248] ShowName off FontName "helvetica" FontSize 12 SourceBlock "utra_lib/Source blocks/source_2" SourceType "" N "N" } Line { SrcBlock "AWGN\nchannel" SrcPort 1 Points [0, 20; 110, 0] Branch { DstBlock "Display8" DstPort 1 } Branch { DstBlock "To Workspace25" DstPort 1 } } Line { SrcBlock "Constant" SrcPort 1 Points [85, 0; 0, 20] Branch { DstBlock "AWGN\nchannel" DstPort 1 } Branch { Points [0, 40] DstBlock "AWGN\nchannel1" DstPort 1 } } Line { SrcBlock "AWGN\nchannel1" SrcPort 1 DstBlock "To Workspace26" DstPort 1 } Line { SrcBlock "source_2" SrcPort 1 Points [35, 0] Branch { DstBlock "channel2" DstPort 1 } Branch { Points [0, 80; 5, 0] Branch { DstBlock "channel2" DstPort 2 } Branch { Points [0, 210; 75, 0] DstBlock "Direct ber calculation1" DstPort 1 } } Branch { Points [0, 80; -30, 0] Branch { DstBlock "To Workspace3" DstPort 1 } Branch { Points [0, 55] DstBlock "Display6" DstPort 1 } } } Line { SrcBlock "channel2" SrcPort 4 Points [5, 0] Branch { DstBlock "To Workspace22" DstPort 1 } Branch { Points [45, 0] Branch { DstBlock "hard decission" DstPort 1 } Branch { Points [155, 0] DstBlock "Display7" DstPort 1 } } } Line { SrcBlock "hard decission" SrcPort 1 Points [-5, 0; 0, 15] Branch { Points [0, 55] DstBlock "Direct ber calculation1" DstPort 2 } Branch { Points [40, 0] DstBlock "To Workspace24" DstPort 1 } } Line { SrcBlock "Direct ber calculation1" SrcPort 1 Points [0, 25] Branch { DstBlock "Display1" DstPort 1 } Branch { DstBlock "To Workspace23" DstPort 1 } } Line { SrcBlock "channel2" SrcPort 3 DstBlock "To Workspace2" DstPort 1 } Line { SrcBlock "channel2" SrcPort 2 DstBlock "To Workspace4" DstPort 1 } Line { SrcBlock "channel2" SrcPort 1 DstBlock "To Workspace1" DstPort 1 } Annotation { Position [138, 117] Text "GIVE VALUES in workspace for\n \nN = block si""ze\n" FontName "helvetica" FontSize 12 FontWeight "bold" } Annotation { Position [719, 159] Text "Simulink AWGN model is\ndoing something very in""teresting:\nTry to increase signal power and \nsee that the noise increases t""oo. \n" } }}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -