# Ali Esmaeilpour

**Statistics**

**MATLAB Answers**

**18** Questions

**0** Answers

RANK**80,417**

of 271,067

REPUTATION**0**

CONTRIBUTIONS

**18** Questions

**0** Answers

ANSWER ACCEPTANCE **
11.11%
**

VOTES RECEIVED**0**

RANK

of 18,282

REPUTATION**N/A**

AVERAGE RATING**0.00**

CONTRIBUTIONS**0** Files

DOWNLOADS **0**

ALL TIME DOWNLOADS**0**

RANK

of 119,720

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

**Content Feed**

Question

how to create diagonal matrix while there is condition for each diagonal element

Greeting, I wanted to create a diagonal matrix that its elements are conditional as shown in the picture:

3 years ago | 0 answers | 0

### 0

answersQuestion

How to make black-box optimization work with time samples

I got a black box optimization which I want to change in a way that it could work with time samples. I mean now I got a black bo...

3 years ago | 0 answers | 0

### 0

answersQuestion

how to generate rectangular pulse using rectpuls

I got a rectangular pulse and I want to generate it like a function "rectangularpulse" instead of the way it's generated with na...

3 years ago | 0 answers | 0

### 0

answersQuestion

how to find rise time of an arbitrary signal

I got a code which results a "y" signal as output and I wanted to find its rise time. I gave an arbitrary input signal "W" as sh...

3 years ago | 0 answers | 0

### 0

answersQuestion

how to find steady state error of an arbitrary signal

I got a code which results a "y" signal as output and I wanted to find its steady state error. I gave an arbitrary input signal ...

3 years ago | 0 answers | 0

### 0

answersQuestion

how to find settling time of an arbitrary signal

I got a code which results a "y" signal as output and I wanted to find its settling time. I gave an arbitrary input signal "W" a...

3 years ago | 0 answers | 0

### 0

answersQuestion

how to find characteristics of a signal

Hello guys! I got a code that gives a result "y" as output like a signal. I wanted to find it's characteristics l mean Rise time...

3 years ago | 0 answers | 0

### 0

answersQuestion

Deleting some parts of a figure

greeting guys! I got a code which result is a figure of output y with respect to t (time). I wanted to keep some part of this fi...

3 years ago | 1 answer | 0

### 1

answerQuestion

fmincon gradient of nonlinear inequality constraints must have size???

Greeting guys! I run my code and I get the following error: "Gradient of nonlinear inequality constraints must have size 4-by-1...

3 years ago | 1 answer | 0

### 1

answerQuestion

how to have function with scalar value

Greetings people! I have a code and 2 objective functions when I want to use fmincon it says function has to be scalar here is ...

3 years ago | 1 answer | 0

### 1

answerQuestion

function with myblackbox using fminunc

Hello guys! I got a Function F(y(x)) = sum (( yref-y(x))^2) and x(1) = q and x(2)=r and x=[q;r] and yref=0. I wanted to code thi...

3 years ago | 1 answer | 0

### 1

answerQuestion

How to find F(x) as a function corresponding to SSE

Hello people, I wanted to tune an MPC controller by multi-objective optimization. I got a function named F(x) corresponding to S...

3 years ago | 0 answers | 0

### 0

answersQuestion

assignment problem in a for loop to obtain states

Hey guys! I have an assignment problem with my code. clc; clear; close all; %% Time structure dt = 0.01; %% System struct...

3 years ago | 0 answers | 0

### 0

answersQuestion

assignment problem in a for loop

Hello people, I have an assignment problem and I don't know how to solve. clc; clear; close all; %% Time structure dt=0.01;...

3 years ago | 0 answers | 0

### 0

answersQuestion

How to put control energy and gain in a loop

Hello people! I got a question about constructing a control loop. I've optimized and solved my control problem using standard so...

3 years ago | 0 answers | 0

### 0

answersQuestion

produce N number of matrices through a loop

Hello people! I want to produce N number of matrices while k=1:N and I want the result in a way like h(k). I mean h(1),h(2) etc ...

3 years ago | 0 answers | 0

### 0

answersQuestion

Produce matrices through for loop

Hello people! I want to produce N number of matrices while k=1:N and I want the result in a way like h(k). I mean h(1),h(2) etc ...

3 years ago | 1 answer | 0

### 1

answerQuestion

kronecker product in a matrix

hx = [-1/sqrt(5);-2/sqrt(5)] and hu = [0;0] and i = 1 and N = 5 I want to find a code for hk, tnx!

3 years ago | 1 answer | 0