Community Profile

photo

Abbi Hashem


9 total contributions since 2018

Abbi Hashem's Badges

  • Thankful Level 2

View details...

Contributions in
View by

Question


fmincon function with vector inputs of different lengths?
The general form of the function I'll be using is: x= fmincon(objective, x0,A,b, Aeq,beq, lb,ub ,nonlcon); YET the input are ...

3 months ago | 1 answer | 0

1

answer

Question


sum of multiplication for a vector and matrix
Say I have the following matrix and vector: A = [ 2,3; 1,4] b= [ 5 , 7 ] I want a code of the sum of the multiplicati...

3 months ago | 2 answers | 0

2

answers

Question


Difficulty implementing simulated annealing algorithm
While there are exaplanations for this (see the following link), I couldn't figure out exactly how to implement it: https://www...

3 months ago | 1 answer | 0

1

answer

Question


How do i create the following cell array ?
this is what I have in mind : as you can see, the main matrix is 2*4, and within each cell there are 3 values Question ...

4 months ago | 1 answer | 0

1

answer

Question


Why do I get a different length of the vector for different runs ?
This is my code : d=1 p=1 Number_Included = [ 3 7 2 ] while p<=3 r(d:(d+Number_Included(p)-1)) = rand(1, Number_Included(...

4 months ago | 1 answer | 0

1

answer

Question


Finding ALL the indicies that match a certain value
Suppose I have a variable A= 4 and I have a vector B = [ 3 5 4 6 4 6 7 ] I want to find the index of B that match A that is...

9 months ago | 1 answer | 0

1

answer

Question


Finding the index (rank) of a specific number from a column
Suppose I have a column B = [ 1 4 8 3 5 9] and I have another vector = [ 8] In this case, I want to find the rank where it...

9 months ago | 1 answer | 0

1

answer

Question


accessing the first column of each cell ?
lets say I have a cell matrix that was created with 2000 cells each is a 6 by 7 matrix . I want to acces the 7th column of each ...

9 months ago | 1 answer | 0

1

answer

Question


System of inequalities with <=0
I want to solve a system of equations and an inequality example the equation is x1+x2+x3-x4 +x5 - x6 +x7 - 2x8= 2 ( 8 ...

9 months ago | 1 answer | 0

1

answer