Guy on Simulink

Simulink & Model-Based Design

Posts 11 - 20 of 20

Results for: Fundamentals

Did I just get a different answer? 3

As part of any well designed Model Based Design work-flow, you need to ensure that you get the expected results from your simulation. You might want to evaluate the effect... read more >>

How to customize the Simulink Scope! 21

/* Publisher style MATLAB code */ pre.codeinput { background: #EEEEEE; padding: 10px; } @media print { pre.codeinput {word-wrap:break-word; width:100%;} } span.keyword {color:... read more >>

Building Models with MATLAB Code 81

Occasionally I get questions about how to build, modify, and add blocks, to Simulink models using MATLAB commands. In this post, I will to give a basic overview of the common... read more >>

Round-off Error

Loren recently posted a simple example of how single-threaded computations might produce different results from multi-threaded computations.  The cause is floating-point round off, and most people... read more >>

Floating-Point Numbers 6

Numeric simulation is all about the numbers. In a previous post, I talked about integer and fixed-point number representations. These numbers are especially useful for discrete simulation... read more >>

My Mental Model of a Model 2

When you are new to something, it always helps to get a mental picture of how that something works.  Since I learned Simulink over 10 years ago, I have developed my own mental model of Simulink... read more >>

The If-Else Construct in Models 9

Balaji Kalluri asked a question in the comments of a post about the MUX block.  Balaji asked: Hi All I would be highly obliged, if someone can show me a route to model a typical ... read more >>

How do I test for NaN in my model? 8

This week I want to pose a brainteaser that my colleague Jeff had to solve this week.  Imagine you need to detect the condition where a signal value might become NaN (Not A Number).  How do... read more >>

MathWorks Conversations and the FFT 10

If you are like me, you read the doc, a lot.  I am often clicking on the help just to verify my understanding of a function’s syntax, or the behavior of a block.  That is why I wasn’t surprised to... read more >>

Representing Numbers: Integers and Fixed-Point

In embedded systems, computation time and memory are critical resources.  Floating-point calculations require special floating-point units for efficient computation and this translates to... read more >>

Posts 11 - 20 of 20