Community Profile # DB

Last seen: 5 maanden ago Active since 2020

#### Statistics

All
• • #### Content Feed

View by

Question

How many iterations does a ODE solver like ode45 do? What do the dimension of outputs mean?
Say I have a state space function function dx = sys(t, x) A = [0 1; -2 3]; B = [0;1]; K = [-1 -1]; u = K*x; dx = ...

5 maanden ago | 1 answer | 0

### 1

Question

What do the (high) values in a controllability matrix mean?
In a linear state space system, I used the function Co = ctrb(A,B) To check the controllability of the system. I get a full ...

6 maanden ago | 0 answers | 0

### 0

Question

Function returns scalar independent of input, but I need a matrix output
I have function handle f: f = @(x)4.3206303272e-05.*x(1).^2+2.39837699915e-05.*x(2).^2 Where is a vector. I want to plot the...

10 maanden ago | 1 answer | 0

### 1

Question

How to replace the sdpvar vector x with meshgrid variables to plot it? (YALMIP)
I have polynomial f of min degree 2, max degree 6 with variables x1 and x2, which are defined in Matlab by: x = sdpvar(2,1) Ac...

10 maanden ago | 0 answers | 0

### 0

Question

Plotting a multivariate polynomial with sdpvar variables
Suppose I have a polynomial , with degree . I want to plot the function where each variable in runs from to . I saw that usin...

10 maanden ago | 1 answer | 0

### 1

Question

How to have Matlab create a random matrix that is fullrow rank?
Say we have random matrix A, which we use for proving some theory, and we need this matrix to be fullrow rank, how to model this...

10 maanden ago | 2 answers | 0

### 2

Question

What is the mathematical notation for a Pulse Generator + If blocks in Simulink?
Hi, I have a value of I1 and I2. I want the value of I1, except for one time every 28 days/seconds (does not matter). I modelle...

bijna 2 jaar ago | 0 answers | 0

### 0

Question

What is the difference between the sample-and-hold block and a delay?
The sample and hold block holds a value for a certain time and outputs it. A delay takes a previous value from a certain time a...

ongeveer 2 jaar ago | 1 answer | 0

### 1

Question

How to use the state port of an integrator block in Simulink?
Hi, I want to use the state port for initial value of the integrator when it resets. However, I get an error message when I tre...

ongeveer 2 jaar ago | 1 answer | 0

### 1

Question

What is this Simulink block called?
What is this middle block in Simulink? I cannot find it in the library.

ongeveer 2 jaar ago | 1 answer | 0

### 1

Question

Export doubletimeseries dataset from MATLAB to Excel
Hi, I have data from Simulink out.conout colum time and 7 others: I want to export this to excel. I've tried writetable, xlsw...

ongeveer 2 jaar ago | 1 answer | 0

### 1

Question

How can I model the integrator show the desired reset behaviour?
Hi, I want to model continuous behaviour with its input depending on the discrete behaviour which should be changing per sample...

ongeveer 2 jaar ago | 1 answer | 0

### 1

Question

How to input a vector in Simulink with initial values to ultimately plot it over time?
I have initial vector x0 = [12;7,57] With x(0)=x0 I want to plot the changes x makes over time t and time steps k with x'(t)...

ongeveer 2 jaar ago | 1 answer | 0

### 1

Question

What is this block called and where can I find it?
Figure below. What is its function and what is the top output?

ongeveer 2 jaar ago | 1 answer | 0

### 1

Question

How do I make a plot with all three states [x1 x2 x3]' in SImulink?
I have made a model on people [x1 x2 x3]' influencing each other by influence matrix A. How can I plot the changes in the stat...

ongeveer 2 jaar ago | 0 answers | 0

### 0

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...

ongeveer 2 jaar ago

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:...

ongeveer 2 jaar ago

Question

How do I plot the dynamics of agents influencing each other?
Hi, I want to plot the influence of agents on each other in a graph. For this example, I have three agents : k=1 x1(k)=10; x...

ongeveer 2 jaar ago | 1 answer | 0