Community Profile

Seth Popinchalk

MathWorks

52 total contributions since 2011

View details...

Contributions in
View by

Submitted

Parallel Computing with Simulink: Model Reference Build
These files accompany my blog post of the same name.

Submitted

3-D DataViz Contest Animation
Scatter plot of results, CPU Time and node count in 3-D, turned into an animated GIF.

Submitted

Hierarchical Symbol Resolution
Example model that shows hierarchical symbol resolution in action.

Submitted

Bus Copies Explained
These files accompany the Seth On Simulink® blog post of the same name.

Submitted

Example models that show the use of diagnostics to improve the model.

Submitted

These files accompany the November 2006 article in MATLAB Digest

The SIM and SIMSET command can not be called from the MATLAB Compiler (This is documented <http://www.mathworks.com/help/compile...

5 years ago | 2

| accepted

In general, optimization is applied to a Simulink model using MATLAB commands to adjust variables that define the parameters of ...

5 years ago | 4

Solved

Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

8 years ago

Solved

Make the vector [1 2 3 4 5 6 7 8 9 10]
In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...

8 years ago

Solved

Weighted average
Given two lists of numbers, determine the weighted average. Example [1 2 3] and [10 15 20] should result in 33.333...

8 years ago

Solved

How to find the position of an element in a vector without using the find function
Write a function posX=findPosition(x,y) where x is a vector and y is the number that you are searching for. Examples: fin...

8 years ago

While characters are not a type you can use on a signal line, you can cast them to an Int8 and then work with that. No blocks i...

8 years ago | 2

FFT not matching with Continuous FT
Computing the correct scaling of the FFT is difficult as you must also account for the length of the signal data. This is exp...

8 years ago | 0

Time dependent switch
Use the output of the Clock as the control signal for the switch. Then the threshold can be set to the time you would like it t...

8 years ago | 1

Question

What configuration management system do you use for Model-Based Design?
Model-Based Design produces multiple files that require managing them through version control, and configuration management. Wi...

8 years ago | 3 answers | 1

3

Recommendations for Automation Tools... Missing
This section of the MAAB guidelines "recommends" to *tool builders* that they provide a table reporting the level of compliance ...

8 years ago | 0

| accepted

This could be the result of a corruption of the library browser repositories. These can be regenerated by deleting or renaming ...

8 years ago | 0

Simulink library browser shows "No blocks"
This could be the result of a corruption of the library browser repositories. These can be regenerated by deleting or renaming ...

8 years ago | 0

Models will evaluate blocks multiple times in the same time step when there are algebraic loops. Turn the algebraic loop diagno...

8 years ago | 1

sum function
The <http://www.mathworks.com/help/toolbox/simulink/slref/add.html Sum block> can operate on a vector signal, summing all the el...

8 years ago | 0

# Rewrite the equations as a system of first order derivatives. (Your equations are already in this form) # Add integrators to...

8 years ago | 0

| accepted

demux
If your multiplex operation is using the SUM block, you will have a hard time separating the impulses. It may be possible to de...

9 years ago | 0

Wireless webcam integration for Real-Time Windows Target
You can use the <http://www.mathworks.com/help/toolbox/imaq/fromvideodevice.html From Video Device block> from the Image Acquisi...

9 years ago | 0

how to calcuate derivate using simulink
The derivative block computes a time based derivative, using a difference ratio (not an analytic derivative). There is no blo...

9 years ago | 1

how do I use simulation time as realtime changing variable?
Use a Clock or Discrete Clock block to create a signal (t) then operate with that as your input to the algorithm. The algorithm...

9 years ago | 1

| accepted

Try setting the Max Step Size to a small number (.1 or .01). It is possible that the model steps are too large to capture the f...

9 years ago | 0

to compare the floating value of a signal with file.mat signal
You can build the equation using blocks from the Math Operations and Logic and Bit Operations libraries. You will need an <ht...

9 years ago | 0

differential equations
Fixed step size is a solver setting under Configuration Parameters on the Solver page. If you are running a continuous model wi...

9 years ago | 0

| accepted