I am trying to create a block that takes in an input of varying sizes (512, 1024, 2048, etc.) and after scaling and processing, downsamples the input to produce only an integer fraction of the number of inputs. I have all the processing code, but I can't make the port dimensioning work. How do I do it ?
MATLAB: How to achieve downsampling using an MATLAB file S-function in Simulink 7.4 (R2009b)
simulink
Related Question
- Am I getting unexpected output dimensions or errors when demuxing a vector using the Demux block in Simulink 7.4 (R2009b)
- How to generate code for a model so that the input ports can accept signals of any dimension in Simulink 6.6 (R2007a)
- Can the From Multimedia File block output the current frame number and/or the dimensions of the video in the Video and Image Processing Blockset
- Downsampling of RPM traces
- Does the Merge block accept frame-based inputs with different dimensions in Simulink 6.1 (R14SP1)
- Matlab coding for downsampling……..……
Best Answer