Community Profile

photo

Ali Esmaeilpour


Last seen: plus de 3 ans il y a Actif depuis 2019

Statistiques

  • Thankful Level 2
  • Thankful Level 1

Afficher les badges

Content Feed

Afficher par

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:

plus de 4 ans il y a | 1 réponse | 0

0

réponse

Question


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

plus de 4 ans il y a | 1 réponse | 0

0

réponse

Question


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

plus de 4 ans il y a | 1 réponse | 0

0

réponse

Question


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

plus de 4 ans il y a | 1 réponse | 0

0

réponse

Question


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

plus de 4 ans il y a | 1 réponse | 0

0

réponse

Question


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

plus de 4 ans il y a | 1 réponse | 0

0

réponse

Question


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

plus de 4 ans il y a | 1 réponse | 0

0

réponse

Question


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

plus de 4 ans il y a | 1 réponse | 0

1

réponse

Question


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

plus de 4 ans il y a | 1 réponse | 0

1

réponse

Question


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

plus de 4 ans il y a | 1 réponse | 0

1

réponse

Question


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

plus de 4 ans il y a | 1 réponse | 0

1

réponse

Question


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

plus de 4 ans il y a | 1 réponse | 0

0

réponse

Question


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

presque 5 ans il y a | 1 réponse | 0

0

réponse

Question


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

presque 5 ans il y a | 1 réponse | 0

0

réponse

Question


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

presque 5 ans il y a | 1 réponse | 0

0

réponse

Question


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

presque 5 ans il y a | 1 réponse | 0

0

réponse

Question


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

presque 5 ans il y a | 1 réponse | 0

1

réponse

Question


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!

presque 5 ans il y a | 1 réponse | 0

1

réponse