| Products & Services | Solutions | Academia | Support | User Community | Company |
| Download Product Updates | | | Get Pricing | | | Trial Software |
| Documentation → Fixed-Point Toolbox |
| Contents | Index |
| Learn more about Fixed-Point Toolbox |
c = bitreplicate(a, n)
c = bitreplicate(a, n) concatenates the bits in fi object a n times and returns an unsigned fixed value with a word length equal to n times the word length of a and a fraction length of zero. The bit representation of the stored integer is in two's complement representation.
The input fi object can be signed or unsigned. bitreplicate concatenates signed and unsigned bits the same way.
bitreplicate only supports fi objects with fixed-point data types.
bitreplicate does not support inputs with complex data types.
Sign and scaling of the input fi object does not affect the result type and value.
bitand, bitconcat, bitget, bitset, bitor, bitsliceget, bitxor
![]() | bitorreduce | bitrol | ![]() |

Learn how to apply early verification to your development process through these technical resources.
How much time do you spend on testing to ensure implementation meets system-level requirements?
| © 1984-2009- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |