# Deepayan Bhadra

Followers: 0 Following: 0

**Statistics**

**MATLAB Answers**

**37** Questions

**0** Answers

RANK**39,101**

of 293,779

REPUTATION**1**

CONTRIBUTIONS

**37** Questions

**0** Answers

ANSWER ACCEPTANCE **
40.54%
**

VOTES RECEIVED**1**

RANK

of 20,063

REPUTATION**N/A**

AVERAGE RATING**0.00**

CONTRIBUTIONS**0** Files

DOWNLOADS **0**

ALL TIME DOWNLOADS**0**

RANK

of 149,780

CONTRIBUTIONS

**0** Problems

**0** Solutions

SCORE**0**

NUMBER OF BADGES**0**

CONTRIBUTIONS**0 Posts**

CONTRIBUTIONS**0** Public Channels

AVERAGE RATING

CONTRIBUTIONS**0** Highlights

AVERAGE NO. OF LIKES

**Feeds**

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

2 years ago | 0 answers | 0

### 0

answersQuestion

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

answersQuestion

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

answerQuestion

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

answersQuestion

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

answerQuestion

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

answersQuestion

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 | 1 answer | 0

### 1

answerQuestion

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

answersQuestion

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

answerQuestion

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 | 1 answer | 0

### 1

answerQuestion

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

4 years ago | 1 answer | 0

### 1

answerQuestion

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

4 years ago | 0 answers | 0

### 0

answersQuestion

Error while using AppDesigner

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

4 years ago | 0 answers | 0

### 0

answersQuestion

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

answerQuestion

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

answerQuestion

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

answersQuestion

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

answersQuestion

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

5 years ago | 1 answer | 0

### 1

answerQuestion

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

5 years ago | 0 answers | 0

### 0

answersQuestion

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

answersQuestion

Nonconvex: 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 | 1 answer | 0

### 1

answerQuestion

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

answersQuestion

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

answerQuestion

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

answersQuestion

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

answersQuestion

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

answerQuestion

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

answerQuestion

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

answersQuestion

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

answersQuestion

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