Community Profile

photo

Deepayan Bhadra


Last seen: 1 year ago Active since 2016

Followers: 0   Following: 0

Statistics

  • Thankful Level 3

View badges

Feeds

View by

Question


'signals' in load() requires Datafeed Toolbox?
I am trying to load data from a structure, which has two fields - signals and meta_data. load([PathName, file_name],'meta_data...

1 year ago | 0 answers | 0

0

answers

Question


Random square wave of varying individual pulse width but fixed total duration
The problem I have at hand is as follows: A square wave (total duration: a sec) which can be (randomly) 1 for either 33 ms or ...

2 years ago | 0 answers | 0

0

answers

Question


Multiple a matrix by every column of another matrix and stack the results in some form
Hello, I have a matrix A: 3xn and a matrix B: 3x6. What I wish to do is subtract each column of B from A as follows: B_11 is su...

2 years ago | 1 answer | 0

1

answer

Question


Unable to load multiple mat files
Hello, I have a bunch of mat files as shown below. I feel I've done something similar before but now this is driving me slightly...

2 years ago | 2 answers | 0

2

answers

Question


Store directory listing into loopable structure
Hello, I am trying to collect the output of dir below into a folder/dataset/structure that I can loop through. cd 'C:\Users\...

2 years ago | 1 answer | 0

1

answer

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

6 years 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) ...

6 years 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(-...

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

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

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

6 years 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 =...

6 years ago | 1 answer | 0

1

answer

Load more