MATLAB Answers


boundary problems of 2-D convolution block in Simulink

Asked by Kyle
on 20 May 2013

Hi experts, recently I'm running simulation of pattern dynamics for the Brusseltor model in the simulink environment. To process 2-D convolution I simply picked up 2-D convolution block. But the results seems strange. My questions are

1. How to setup different boundary conditions ? Matlab built-in conv2() allows easy setup boundary conditions for either wrap, zero-flux, etc. How shall I realize them in the 2-D convolution box ?

2. How to let 2-D convolution block accept floating points ? Configuration of 2-D convolution box allows various fixed-point modes, but how shall I adjust it so that the convolution of matrix will have floating points ?

Many thanks Kyle



No products are associated with this question.

0 Answers

Join the 15-year community celebration.

Play games and win prizes!

Learn more
Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

MATLAB Academy

New to MATLAB?

Learn MATLAB today!