# MathWorks Fixed Point Team

### MathWorks

Followers: 0 Following: 0

**Statistics**

RANK**1 661**

of 294 507

REPUTATION**39**

CONTRIBUTIONS

**20** Questions

**18** Answers

ANSWER ACCEPTANCE **
95.0%
**

VOTES RECEIVED**14**

RANK**19 715** of 20 119

REPUTATION**0**

AVERAGE RATING**4.40**

CONTRIBUTIONS**8** Files

DOWNLOADS **70**

ALL TIME DOWNLOADS**3519**

RANK

of 151 819

CONTRIBUTIONS

**0** Problems

**0** Solutions

SCORE**0**

NUMBER OF BADGES**0**

CONTRIBUTIONS**0 Posts**

CONTRIBUTIONS**0** Public Channels

AVERAGE RATING

CONTRIBUTIONS**0** Highlights

AVERAGE NO. OF LIKES

**Feeds**

Question

FAQ: Why does Fixed-Point fi variable times MATLAB floating-point variable error out in code generation, MATLAB Function Block, etc.?

FAQ: Why does Fixed-Point fi variable multiplied by a MATLAB floating-point variable error out in code generation, MATLAB Functi...

10 månader ago | 1 answer | 0

### 1

answerSubmitted

Deep Learning Toolbox Model Quantization Library

Quantize and compress deep learning models

10 månader ago | 57 downloads |

Question

FAQ: What's the difference between the two Simulink Precision Loss Diagnostics for Parameters and Fixed-Point Constants?

What is the difference between the Detect precision loss that applies to fixed-point constants and the Detect precision loss for...

11 månader ago | 1 answer | 0

### 1

answerQuestion

FAQ: How can I resolve the error due to lookup table not allowing repeated breakpoints?

I'm trying to model abrupt discontinuities using lookup tables. For example, consider this data that has abrupt discontinuities...

mer än ett år ago | 1 answer | 0

### 1

answerQuestion

FAQ: Why does a value look more precise when displayed in MATLAB or Simulink than in the generated code?

A value used in my design looks more precise when displayed in MATLAB or Simulink. The same value in C or C++ generated by Embe...

nästan 2 år ago | 1 answer | 0

### 1

answerFAQ: Why is a fixed-point type's Fraction Length or Integer Length sometimes negative?

Maximizing precision for limited bits The ability to have a negative fraction lengths or a negative integer lengths is a very g...

nästan 2 år ago | 0

| accepted

Question

FAQ: Why is a fixed-point type's Fraction Length or Integer Length sometimes negative?

Sometimes fixed-point variables have fraction lengths that are negative. a = 5.6632765314184e+15 aFi = fi(a,1,4) curFractionL...

nästan 2 år ago | 1 answer | 0

### 1

answerQuestion

Why does fi signed plus unsigned produce needless range bits?

When adding signed and unsigned fi variables with the default full-precision settings, sometimes the output type has needless ra...

nästan 2 år ago | 1 answer | 0

### 1

answerQuestion

How can I use int64 and uint64 with my Simulink S-function?

How can I use int64 and uint64 with my Simulink S-function?

mer än 2 år ago | 1 answer | 0

### 1

answerQuestion

Why does Simulink's Weighted Sample Time block sometimes use fixed-point data types for its output?

In Simulink, I want to get the sample time of a signal and use that value in other calculations. The Weighted Sample Time block ...

nästan 3 år ago | 1 answer | 0

### 1

answerQuestion

How can I use fractional data types when the values are beyond the interval [-1, +1) ?

Many references describe implementing fixed-point designs using fractional data types. These signed fractional data types repres...

mer än 3 år ago | 1 answer | 0

### 1

answerQuestion

FAQ: Why aren't boolean and 1 bit unsigned integers treated as the same data type?

Variables and signals of the boolean data type (called logical in MATLAB) only represent the values 0 and 1. Variables and sign...

nästan 4 år ago | 1 answer | 0

### 1

answerQuestion

Best practices for converting MATLAB code to fixed point

I have tried to use fixed-point data types (i.e. fi) for MATLAB code. Are there any best practices for this process?

nästan 4 år ago | 1 answer | 0

### 1

answerSubmitted

Fixed-Point Made Easy for FPGA Programming

Material used in the "Fixed-Point Made Easy for FPGA Programming" webinar.

nästan 4 år ago | 4 downloads |

Question

Some forms of Simulink logging write 64 bit integers as fi objects. Does that mean I need a Fixed-Point Designer license?

I've observed that some forms of logging in Simulink write integer variables out to MATLAB as fi objects. For example, DSP Bina...

ungefär 4 år ago | 1 answer | 0

### 1

answerHow can I use custom constraints for fxpopt?

fxpopt workflow allows user to automatically assign fixed-point data types on a system by trying a basic trial and error loop. ...

ungefär 4 år ago | 0

| accepted

Question

How can I use custom constraints for fxpopt?

I am trying to use fxpopt with custom constraints and I cannot figure out how to do it. I am trying to have optimization be base...

ungefär 4 år ago | 1 answer | 0

### 1

answerWhy is matlab fixed pint arithmetic so slow?

Hi, There are two aspects to speed that you may be concerned about. The first is the speed of generated code running on your e...

ungefär 4 år ago | 0

fixed point to the power 0 changes word length

fi's element-wise power a.^b https://www.mathworks.com/help/fixedpoint/ref/embedded.fi.power.html is not designed to give t...

ungefär 4 år ago | 0

How do I show the hex or binary representation for an integer or fixed-point signal in Simulink?

Simulink provides two ways to show hex and binary of signals, Display Block, and Simulink Value Display (yellow boxes). To do t...

ungefär 4 år ago | 0

| accepted

Question

How do I show the hex or binary representation for an integer or fixed-point signal in Simulink?

When designing or debugging integer or fixed-point algorithms, there are many cases where it is helpful for the display of value...

ungefär 4 år ago | 1 answer | 0

### 1

answerHow do I show the hex or binary representation for an integer or fixed-point variable in MATLAB?

Use of MATLAB's format command and/or Fixed-Point Designer's fipref object can be use to achieve hex display, binary display, or...

ungefär 4 år ago | 1

| accepted

Question

How do I show the hex or binary representation for an integer or fixed-point variable in MATLAB?

When designing or debugging integer or fixed-point algorithms, there are many cases where it is helpful for the display of value...

ungefär 4 år ago | 1 answer | 1

### 1

answerInternal error in deep neural network quantification?

To avoid a ‘coder.internal.getSupportedLayerTypes’ error on creation of a dlquantizer object, install the ‘GPU Coder Interface ...

ungefär 4 år ago | 0

How can I export ranges from the Fixed-Point Tool to an excel sheet?

Currently (as of 20a) there is no way to automatically export data you see in the spreadsheet. Nevertheless you can use the Comm...

mer än 4 år ago | 0

| accepted

Question

How can I export ranges from the Fixed-Point Tool to an excel sheet?

I would like to export the range information I see on the spreadsheet of the Fixed-Point Tool to an excel sheet to share with my...

mer än 4 år ago | 1 answer | 0

### 1

answerWhat does the shared simulation range mean in the Fixed-Point Tool?

The Fixed-Point Tool collects ranges and proposes data types by data type groups rather than individual blocks. A Data type gr...

mer än 4 år ago | 0

| accepted

Question

What does the shared simulation range mean in the Fixed-Point Tool?

I am using the Fixed-Point Tool to propose data types and I see that my signal has the specified design range, but it also has a...

mer än 4 år ago | 1 answer | 0

### 1

answerWhat does this mean and how can I get rid of it ?

Hello, please refer to this answer for more information on what this error means. Could you please add your model and script you...

mer än 4 år ago | 0

Wrong conversion from double to fixed point

Hello, you can try to use any of the Fixed-Point designer workflows to achieve this task. Please find attached a script that u...

mer än 4 år ago | 2