Community Profile

# Safia

Last seen: 1 day ago Active since 2022

#### Content Feed

View by

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

7 days ago | 1 answer | 0

### 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?

8 days ago | 1 answer | 0

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

13 days ago | 1 answer | 0

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

28 days ago | 1 answer | 0

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

29 days ago | 1 answer | 0

### 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 month ago | 1 answer | 0

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

1 month ago | 2 answers | 0

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

2 months ago | 1 answer | 0

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

2 months ago | 3 answers | 0

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

2 months ago | 1 answer | 0

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

2 months ago | 1 answer | 0

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

3 months ago | 1 answer | 0

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

3 months ago | 1 answer | 0