Community Profile Last seen: environ 2 mois ago Active since 2021

#### Statistics

All
• • • • • #### Content Feed

View by

Question

Length/Index based if else statements
I have a vector of variable length, for example b = [0.25;0.5;0.75;1;1.5;1.75;2.0]; and based on the length of this vector, I ...

2 mois ago | 1 answer | 0

### 1

Question

Bar Plot Legend and Axes
I have some data which I plotted as, What I want to do would look something similar to, I opened another figure and copied...

4 mois ago | 1 answer | 0

### 1

DatasetRef; parsim: 'Unable to read file ... No such file or directory'
try to use simOut = parsim(simIN,'TransferBaseWorkspaceVariables','On');

5 mois ago | 0

Question

I have a simulation on simulink with many to-file and to-workspace blocks in it. However, now I want to run a monte-carlo analys...

5 mois ago | 1 answer | 0

### 1

Question

Scaling down values to plot on the same figure
I have a dataset with x and y values (basically a trajectory plot). I've plotted them as shown in the attached figure. I'...

5 mois ago | 0 answers | 0

### 0

Question

Using parsim with SIMULINK model containing c-mex s-functions
I have a simulation with multiple S-functions (level 2 written in c++). I want to run a Monte-Carlo analysis for my problem and ...

5 mois ago | 1 answer | 0

### 1

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

environ un an ago

How to Fill matrix rows with another row?
Well you could find the indices of all the nonzero rows for a matrix A as idx = find(~all(A==0,2)); and then you can replicate...

environ un an ago | 0

Search for optimal values of variables
I figured this out. And I'd share how i did it, in case anyone else encounters the same problem. I used fmincon with objective ...

environ un an ago | 0

| accepted

Question

Search for optimal values of variables
I have two parameters c1 & c2 as variables which I pass to a function and it returns x as 0 or 1 (not logical operators but valu...

environ un an ago | 1 answer | 0

### 1

Question

Equivalent of c++'s NULL or python' s None in MATLAB
I have a c++ code where certain variables (as well as certain user defined class objects) are set to NULL under some conditions....

environ un an ago | 5 answers | 0

### 5

Question

'n' number of nested for loops
I have a cell array M with 4 cell elements and each cell element has a 8x2 matrix. I'm trying to making different combinations ...

plus d'un an ago | 1 answer | 1

### 1

Question

Transformation of a MATLAB Function.
I have a function defined as, f_xw = @(x,w) [3.*x(1) - x(1).^2/7 + w(1); -2.*x(2) + w(2)]; I want to transfor...

plus d'un an ago | 1 answer | 0