Community Profile

photo

Deepayan Bhadra


Last seen: 2 månader ago Active since 2016

Statistics

  • Thankful Level 2

View badges

Content Feed

View by

Question


MPC mo port error
I have 3 measured outputs going into the mo port via a Mux. Yet, I keep getting this error. It's driving me nuts. Could somebody...

8 månader ago | 0 answers | 0

0

answers

Question


MPC toolbox disturbance input
I'm looking at the default MPC structure inside the MPC toolbox. Why does it assume the measured disturbances affect the MPC mod...

8 månader ago | 0 answers | 0

0

answers

Question


MPC toolbox clarification design
In the MPC toolbox, what happens if we specify different values for these two items? Ideally, I think we should only specify one...

8 månader ago | 0 answers | 0

0

answers

Question


Designing LQR controller error
I am trying to design LQR for a 7x7 system. A = 0 -0.628971428568773 0 0 0 0 0.999999999999951 -0.0239070502560970 0 0 0 1....

8 månader ago | 1 answer | 0

1

answer

Question


Comparing two MATLAB functions inside SIMULINK models
Hello, I am trying to compare 2 functions like below. When I use visdiff, it can't identify these functions as they are not stor...

10 månader ago | 0 answers | 0

0

answers

Question


Using convpres in MATLAB (single to float conversion)
I'm trying to use this function https://www.mathworks.com/help/aerotbx/ug/convpres.html X is a 450x1 single type data. >> tem...

ungefär ett år ago | 1 answer | 0

1

answer

Question


Logical indexing in categorical array
I want to ask about the logical indexing at the end. This is from Mathworks website. Looking at B(TF), it doesn't seem to convey...

mer än ett år ago | 0 answers | 0

0

answers

Question


Error while using AppDesigner
Hi, I am getting some introduction to App Designer through this tutorial https://www.mathworks.com/videos/matlab-and-simulink...

mer än ett år ago | 0 answers | 0

0

answers

Question


Syntax clarity on function
I have a script that goes like: The script name is also ManageX. It doesn't look like there is any input or output. Why do we n...

mer än ett år ago | 1 answer | 0

1

answer

Question


Directory access failure error in 2016b but not in 2018b
I get a Warning: Directory access failure in 2016 but when I do the same operation from the same path in 2018, it proceeds smoot...

mer än ett år ago | 1 answer | 0

1

answer

Question


Filename truncated in MATLAB
I am using a command: [TestDefinitionFiles,testDefinitionFolder] = uigetfile('*.xlsx','Select one or more test definitions that...

mer än ett år ago | 0 answers | 0

0

answers

Question


SVN MATLAB update issue
I see two contradictory messages: All the folders below are under the euv-algorithm-pilot folder above. Even after SVN...

mer än ett år ago | 0 answers | 0

0

answers

Question


Debugging matrix dimensions error
I've a piece of code as follows: data.r = zeros(Nr,N_experiments,end_sample-start_sample+1); data.u = zeros(Nu,N_experiments,e...

ungefär 2 år ago | 1 answer | 0

1

answer

Question


NullPointerException error with Java
I'm getting this error message when trying to run some unit tests. How do I fix this? Error using print (line 102) There wa...

mer än 2 år ago | 0 answers | 0

0

answers

Question


Any Gloptipoly expert in the community?
Hi, I'm not sure if this forum has any Gloptipoly expert <http://homepages.laas.fr/henrion/software/gloptipoly3/>. I thought I'd...

mer än 3 år ago | 0 answers | 0

0

answers

Question


Nonconvex: Checking positive-s​emidefinit​eness inside the Gloptipoly package
Hi, I’m dealing with a non-convex constraint and hence, instead of CVX (does CVX support MATLAB’s eig function?), I’m using G...

mer än 3 år ago | 1 answer | 0

1

answer

Question


Checking positive-semidefiniteness inside the Gloptipoly package
Hi, I'm dealing with a non-convex constraint and hence, instead of CVX (does CVX support MATLAB's eig function?), I'm using G...

mer än 3 år ago | 0 answers | 0

0

answers

Question


Avoiding unnecessary for loops
How do I do this without the loops in a few lines? S = zeros(100,100); sig = 0.05; for i = 1:100 ...

nästan 4 år ago | 1 answer | 0

1

answer

Question


Persistent issues with Gloptipoly
Every time I'm trying to run a code with Gloptipoly in it, it simply crashes and displays: MATLAB has encountered an internal er...

nästan 4 år ago | 0 answers | 0

0

answers

Question


Using feval on varying set of arguments
I'm using feval inside a function check_gradient. The setting is like this: function iscorrect = check_gradient(f,grad,x0) ...

nästan 4 år ago | 0 answers | 0

0

answers

Question


Conditional entry-wise matrix operation
Hi, I am trying to compute the matrix 'Y' as follows with matrix 'X' as an input. If X_ij > 0 then Y_ij = X_ij + log(exp(-...

nästan 4 år ago | 1 answer | 0

1

answer

Question


Assigning class +1/-1 to a 100x2 matrix
I have a 100x2 matrix D. A scatter plot is attached. I have a 100x1 vector 'c'. If a point in D is to the left, I want to assign...

nästan 4 år ago | 1 answer | 0

1

answer

Question


Generating two classes of points
Hi, I want to create a 100x2 feature vector set, with roughly half in class '1' and the rest in class '-1'. (As in, when I ma...

nästan 4 år ago | 2 answers | 0

2

answers

Question


Solving a dde23 problem
This seems simple enough: xdot = -Lx(t-0.1) L is a constant integer 10x10 matrix and x is 10x1 vector. I am using this code ...

nästan 4 år ago | 0 answers | 0

0

answers

Question


Trouble with inverse laplace operation
I'm trying to run a code like this: s = tf('s') sys = exp(-0.1*s); sysx = pade(sys,3); x0 = randn(10,1); L =...

nästan 4 år ago | 1 answer | 0

1

answer

Question


Struggling with array dot operator
I've initialized t = 0:0.1:20; L = zeros(4,4,length(t)); I'm trying to assign values to L as follows: t=0...

nästan 4 år ago | 2 answers | 0

2

answers

Question


Solving a DDE in laplace domain with Pade approximation
I'm trying to solve this: xdot = -Lx(t-1) where x is a 3x1 vector and L a constant 3x3 matrix. The initial conditions for x are ...

nästan 4 år ago | 0 answers | 0

0

answers

Question


Working with dde23 for a simple problem
I'm trying to solve this: xdot = -Lx(t-1) where x is a 3x1 vector and L a constant 3x3 matrix. The initial conditions for x are ...

nästan 4 år ago | 1 answer | 0

1

answer

Question


Solving a non-standard ODE
I'm trying to solve an ODE like this: xdot = r(t)-x, where r(t) is a pre-calculated signal array of size 100. Let x(0) = 0. Ho...

ungefär 4 år ago | 1 answer | 0

1

answer

Question


Calculating exact roots of 6th degree polynomial
I've a fat 6x6 matrix E with symbolic variables. I'm trying to compute sqrt(eig(E'E)), ie, the singular values. The answer begin...

ungefär 4 år ago | 1 answer | 0

1

answer

Load more