Info

この質問は閉じられています。 編集または回答するには再度開いてください。

How can I make the function STEP, which I am using with comm.LTEMIMOChannel to also decimate efficiently its output

1 回表示 (過去 30 日間)
Ram
Ram 2014 年 1 月 9 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
How can I make the function STEP, which I am using with comm.LTEMIMOChannel to also decimate efficiently its output. Meaning I would like it to calculate the filter outputs only every "down_sample_phase" samples. Is it possible to be done efficiently.

回答 (1 件)

Yue Shang
Yue Shang 2014 年 1 月 9 日
You cannot modify the step method of comm.LTEMIMOChannel. But you can do what you need by creating a very simple System object that inherits from comm.LTEMIMOChannel. For example:
classdef MYLTEMIMOChannel < comm.LTEMIMOChannel
methods(Access = protected)
function varargout = stepImpl(obj, x, varargin)
if obj.PathGainsOutputPort
[y, g] = stepImpl@comm.LTEMIMOChannel(obj, x, varargin);
varargout = {y, g};
else
varargout = {stepImpl@comm.LTEMIMOChannel(obj, x, varargin)};
end
% Put your decimation code here
end
end
end
The MYLTEMIMOChannel and comm.LTEMIMOChannel should behave the same. After you fill in your decimation code, you can replace comm.LTEMIMOChannel by MYLTEMIMOChannel in your code and call the step method to have the filter output decimated.
  1 件のコメント
Ram
Ram 2014 年 1 月 9 日
A very nice answer. Maybe this the direction I am looking for. But no yet still. If I will follow your idea than my channel will still be calculate at the high rate. Where I am interested only at one of the phases of the channel output.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by