photo

Andy Bartlett

Last seen: Today Aktiv seit 2015

Followers: 0   Following: 0

Nachricht

Statistik

All
  • 36 Month Streak
  • Knowledgeable Level 4
  • Personal Best Downloads Level 1
  • GitHub Submissions Level 1
  • 5-Star Galaxy Level 1
  • First Submission
  • Revival Level 2
  • First Answer

Abzeichen anzeigen

Feeds

Anzeigen nach

Beantwortet
what is this type "sfix16_Sp1_Bn25"
Tip: Feed Simulink Type Name to numerictype If the type name corresponds to a numeric type (not a Bus, Enum, Alias, or user cus...

etwa 2 Monate vor | 2

Beantwortet
Data type conversion in simulink
Just Viewing Value in Hex Format If you just want to view the value of fixed-point signal in hex format, please refer to this p...

2 Monate vor | 0

Beantwortet
How to change information overlays programmatically in Simulink?
Use get_param and set_param on the model. The harder part is figuring out the name of the parameter you want to change. Documen...

3 Monate vor | 0

Beantwortet
Quantisation for IMAGE COMPRESSION
Compare a fixed-point implementation vs. an "ideal math" implemenation. Step 1: Determine some numerically rich inputs for the ...

4 Monate vor | 0

Beantwortet
convert one fixed point format to integer
I assume you have a signal in Simulink using the data type fixdt(1,32,30). Just feed that signal as input to a data type conver...

6 Monate vor | 1

| akzeptiert

Beantwortet
How can I desactivate Data Type Override option for a Simulink model ?
The root problem is the model is configured to use fixed-point data types, but you are using it in a MATLAB session that does no...

6 Monate vor | 1

Beantwortet
Which function can I use to get the information of simulink.AliasType/NumericType in M file?
First you need to have access to the Alias Type as a variable. If you only have the name of the alias type used by a model, the...

7 Monate vor | 0

Beantwortet
after converting the model into fixed point the rms value outside the sub system and after conversion are different even after using the fixed point tool iterative method
Behavioral Requirements are Key The key question is whether the system meets its behavioral requirements. I applied Data Type ...

8 Monate vor | 0

Beantwortet
Integer rounding mode set to Simplest in Simulink.
Hi, The Divide Blocks output should be predictable. The behavior of Simplest Rounding is documented here. If you are using fixe...

8 Monate vor | 0

Beantwortet
Create fi object from Simulink data type
Hi Create a numerictype object from the type name. Then create a fi object using the numerictype as the second input argument...

8 Monate vor | 2

| akzeptiert

Beantwortet
How to implement the lu function for fixed-point data types?
Hi, Fixed-Point Designer provides several tools for solving systems of linear equations, including QR decomposition and solving...

9 Monate vor | 0

| akzeptiert

Beantwortet
is there a way to define 'fixdt' in a Matlab script and use this variable in a Simulink User-Defined Function?
Inside the Simulink Library "User Defined Functions" section, there are about 16 different kinds of blocks. I'm guessing you are...

9 Monate vor | 1

Beantwortet
How to use a script to select drop-down menu options of component in Simulink?
If the entity you want to do set_param on is a block, then you can get a lot of information from DialogParameters. The followin...

10 Monate vor | 0

Beantwortet
what does the "percentage of occurrences along the Y-axis" mean in fixed point converter app?
Hi, The histograms in quantization workflows put each value observed in simulation in a power of two bin. For example, the val...

10 Monate vor | 0

| akzeptiert

Beantwortet
How to find the license dependency of a Simulink model?
Hi, Some products require licenses based on what Simulink modeling elements are used. Other products require licenses based on...

10 Monate vor | 0

| akzeptiert

Beantwortet
Defining an improper function in Simulink
The Laplace operator 1/s is an integrator and s is a derivative. You can break apart your equation and implement it with a gain...

10 Monate vor | 0

Beantwortet
FAQ: Why does Fixed-Point fi variable times MATLAB floating-point variable error out in code generation, MATLAB Function Block, etc.?
fi op float: auto convert float to fixed-point "constant" Fixed-Point Designer's fi variables are designed to prioritize ease o...

11 Monate vor | 0

| akzeptiert

Beantwortet
Generating math expression LUT using variable from workspace
I assume you are modeling your design in Simulink. I suggest you look at using the Function Approximation tooling to create an ...

11 Monate vor | 0

| akzeptiert

Beantwortet
how to create a look up table to use in simulink from a 2D array of doubles
To create a Simulink 1D Lookup Table block using the data from your 2D matrix variable, modify this script to meet your needs a...

11 Monate vor | 0

Beantwortet
CIC decimation output is strange (Output word length and negative fractional length)
In the documentation for CIC Decimator, take a look at the algorithm section. In that section, take a look at Gain Correction a...

12 Monate vor | 0

| akzeptiert

Beantwortet
FAQ: What's the difference between the two Simulink Precision Loss Diagnostics for Parameters and Fixed-Point Constants?
Detect precision loss diagnostic for Parameters Simulink's detect parameter precision loss diagnostic applys to run-time parame...

etwa ein Jahr vor | 0

| akzeptiert

Beantwortet
Streamlining of zeroing out last 2 bits of fixed 16 bit number?
There are 3 ways this can be achieved. As already discussed, Bitwise AND against a constant mask or shift right then shift le...

etwa ein Jahr vor | 0

| akzeptiert

Beantwortet
Why do I receive error message "This requires the Fixed-Point Designer license." for a simple matlab function?
Showing the data types on the Simulink signal lines can be very helpful when investigating. Open the model in question Then at...

etwa ein Jahr vor | 2

Beantwortet
Embedded Coder - difference in results between the original model and generated C code
The IEEE 754 floating-point standard RECOMMENDS that languages implement sin to have correct rounding. Correct rounding means t...

etwa ein Jahr vor | 1

| akzeptiert

Beantwortet
How to get correct embedded code generation of Lookup Table?
My hunch is that Embedded Coder has optimized away code for the specific Lookup Table Block. One form of optimization is "dead ...

mehr als ein Jahr vor | 1

| akzeptiert

Beantwortet
Why not getting same constant value after converting to single from double in MATLAB 2016b simulink
The facts that John D'Errico mentioned are very good to keep in mind as you are analyzing/debugging your model. The rounding of...

mehr als ein Jahr vor | 0

Beantwortet
how to pass(or link) ' fixed- point values' to the (root inport mapper-connect inputs) in the 'HDL inport block'
The problem is that the model is configured such that root inport is getting one data type, but the external data is using a dif...

mehr als ein Jahr vor | 0

| akzeptiert

Beantwortet
Getting 'empty' Compiled Port Data Types
Set model in compile mode to access data types This may be changing, but historically at least, compiled port data types are av...

mehr als ein Jahr vor | 0

| akzeptiert

Beantwortet
Using a look-up table for decoupling waveforms
Hi Milos, I've created a FAQ in response to your question Resolve Error Lookup Repeated Breakpoints. The FAQ includes a utilit...

mehr als ein Jahr vor | 0

| akzeptiert

Beantwortet
FAQ: How can I resolve the error due to lookup table not allowing repeated breakpoints?
A solution for making the lookup tables happy is to move the repeated breakpoints a "tiny amount". A key basis for this approac...

mehr als ein Jahr vor | 0

| akzeptiert

Mehr laden