Community Profile

photo

Safia


Last seen: 1 year ago Active since 2022

Statistics

  • Thankful Level 3

View badges

Content Feed

View by

Question


How to plot histogram using given data ?
Hello! I'm asking if it is possible to insert data in matlab and use them to plot histogram with different colors? i have al...

1 year ago | 2 answers | 0

2

answers

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

1 year ago | 3 answers | 0

3

answers

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

1 year ago | 1 answer | 0

1

answer

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

1

answer

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

1

answer

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

1

answer

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

1

answer

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

1

answer

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

1

answer

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 year ago | 2 answers | 0

2

answers

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

1

answer

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

1 year ago | 3 answers | 0

3

answers

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

1

answer

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

1

answer

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

1

answer

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

1 year ago | 1 answer | 0

1

answer

Question


How to simulate Poisson Distribution Process?
Hello everyone! I have a number of vehicles that will pass through a segment of highway, the arrival rate follows a Poisson dis...

1 year ago | 6 answers | 1

6

answers