Community Profile

photo

Sheharyar Mr


Last seen: circa un mese ago
4 total contributions since 2019

Sheharyar Mr's Badges

  • Thankful Level 1

View details...

Contributions in
View by

Question


row dimension of aeq is inconsistent with length of beq.
Hello , I am trying to use the fmincon but am constantly getting the following error message.What do you suggest me to change? ...

3 mesi ago | 1 answer | 0

1

answer

Question


i want to sum each row of a matrix to the next row of the same matrix and save it in a new variable. its a part of big algorithm.
let the matrix is this A= [1 2 3 4; 5 6 7 8; 4 3 2 1]; and i want to get this X=[1 2 3 4; 6 8 10 12; 10 11 12 13]; thanks ...

4 mesi ago | 2 answers | 0

2

answers

Question


How can i compare two arrays of different size and replace value of one array into the third one.?
Given T,L want to achieve T=[4 4 5 5 6 6]; L=[0.5 0.9 0.6 0.4 0.2 0.8]; C=[0 0 0 1.4 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0...

6 mesi ago | 0 answers | 0

0

answers