Community Profile # Safia

Last seen: 2 dagar ago Active since 2022

#### Statistics

• #### Content Feed

View by

Question

How to find max of each iteration in cell array?
Hello! i have A = 20x2 cell , in each cell i have 3 values of 3 iterations, i want to find the max of each iteration in 20 cell...

13 dagar ago | 3 answers | 0

### 3

Question

How to generate matrix from iterations?
Hello ! In my program, I have two vectors V1 and V2 as follows: V1 =[0 20 60 80 100] V2 =[20 60 80 100] i want to run my ...

17 dagar ago | 1 answer | 0

### 1

Question

how to use the result of current iteration as input for next iteration ?
hello everyone! this is my code in matlab, i want to put the result of x_new for the first iteration after doing optimization a...

### 1

Question

how to define an iteration number ?
Hi all! i'm trying to implement a program in matlab attached, i'm wondering how to define the number of iteration j?

### 1

Question

How to use CVX in matlab code?
Hello! I am new to cvx, I have no idea how to use it. I hope you could help me. I want to optimize the UAV trajectory, I h...

### 1

Question

How to transform a vector to a matrix with same position ?
Hello everyone! i want to ask you, if i have a matrix A in each row i have only one value , the rest are set to zero.Also i ha...

### 1

Question

How to fill specific elements of vector based on indexes of another vector?
Hi all! i have a problem and i want to share with you in order to get some help. i have two vectors d1 , d2 with same dimensio...

### 1

Question

Can anyone check my code please?
Hello everyone! at first step i have two matrices A1,A2. There are some same value existed in both A1,A2. So i extracted their...

### 1

Question

How to generate matrix based on previous elements?
Hello all! i will explain my problem , and i hope that you could help me because it's so critical. i Have a matrix containing ...

### 2

Question

can someone check my code?
Hello! I have a problem in my code, can anyone help me please? i have a matrix A(1826*3600) randomly generated contains such v...

### 1

Question

How to fill just such successive elements in row of matrix?
Hello! i have matrix A (733*3600) randomly generated containing such values,i have a condition , if the value of element (i,j...

### 3

Question

Can i fix a sum of vector generated by Distribution Poisson?
Hello! i used a function poissrnd to generate an arrival of cars into a segment highway during period T=3600 s . this is my co...

### 1

Question

How to extract elements of each column 1 by 1 in matrix and transform it to a column vector ?
Hello everyone! i want to ask you if it is possible to do what i'm trying to explain or not! at first i have a binary matrix f...

### 1

Question

How to return value to zero before index of specific element in matrix?
Hi all! I have a matrix (m*n), in each row i have a specific element that i want all element before it to be set to zero. I ...

### 1

Question

How to transform a vector into a binary matrix with row constraint ?
Hi! i have this vector v=[1,4,3,2], I want to transform it into a binary matrix under the following constraint: each row can co...