For questions about or relating to Simulink, a graphical programming environment for modeling, simulating and analyzing multidomain dynamic systems.

24 questions
Filter by
Sorted by
Tagged with
76 views

### Simulating a moving coil meter with Simulink

I have to model/simulate a moving iron meter with Simulink, more specifically, I need to build a Simulink model for the equation of motion, wich is given as: $$\theta\ddot{\alpha} = T_\phi - T_S$$...
7 views

### How to restrict solver computation to a fixed time and repeat the obtained sequence for the rest of the interval

I have designed a custom component using simscape in which a differential equation needs to be computed only for a single time period and the values obtained during that calculation needs to be ...
40 views

227 views

### Can I use discontinuous functions in my model - State space & Transfer function

When I simulate physical models I often use state space or transfer function matrecies. I like to use this library: https://octave.sourceforge.io/control/overview.html Very powerful and well updated. ...
89 views

I want to specifically create models for large biological systems involving partial differential equations(diffusion equation) as well as using ODE's etc. I'm still and undergraduate student so this ...
92 views

### Controller for Non-holonomic agents

I have designed a certain controller for a group of holonomic agents (I was assuming that they were holonomic and that they were able to move in the 3D space) Now I want to use the same controller ...
189 views

### Create Simulink block with a number on it

I was wondering how you create the block where there is a number on it. The blocks I'm refering to are the ones where there is a 3 or 4. Can't find the right block.
191 views

### How to define the curvature of a function in simulink

English is not my native language so be tolerent please, you can edit the question as you pleases. I have a model in simulink (matlab) where I have a function (for example $f(x)$ like in the image), ...
223 views

### FIR filter approximation using a continuous time dynamical system

How can you approximate a Finite Impulse Discrete filter (FIR) using a continuous time linear dynamical system? I am seeing this problem using Matlab, where the resulting continuous system (obtained ...
166 views

### Basic Mathematics (on MATLAB & Simulink)

I need some help for the below equation, is there any function which could help me to solve for b variable in MATLAB & Simulink? Otherwise, which numerical methods would you prefer? \frac{a-b}{...
578 views

### Direction of rotation in matlab/simulink

I have a general question. In Simulink, say you have identified an axis for a revolute joint (x,y,z):(1,0,0) and you plot the angle. Is the normal convention the right hand rule? In this case positive ...
4k views

### Roll PID Control for quadcopter

I'm trying to implement with simulink a PD controller for my quadcopter. I use a simplified model, and for the roll case I have $I_x * \phi = L$, where L is the roll torque. So, the transfer ...
196 views

### uniqueness of svd decomposition and its role in statistical analysis

let us consider following model according to following link http://www4.ncsu.edu/~ipsen/REU09/chapter4.pdf it says that : The singular values are unique, but the singular vector matrices are not ...
3k views

### Simulink model from a nonlinear State Space

I have the nonlinear state space already constructed in MuPAD as shown: u is the input and y is the output. What is the best way for me to take this to Simulink?
889 views

### How does MATLAB Simulink get such accurate ODE solution results?

I have a fixed-step model (0.001s) in Simulink in which a second order ODE is effectively being set up, a free spring-mass-damper system (m=2, c=0.3, k=1, x0=0, x_dot_0=4). I am studying the solvers ...
I have some trouble with a challenging fluid mechanics problem. The problem leads me to a non-linear ode 1st order. $0={\dot p_C}^2+\frac{k_1}{k_2 C}\dot p_C+\frac{p_C-p_0}{k_2C^2}$ My Idea was now ...