Community Profile

photo

Mahmoud Galal


Last seen: 1 month ago Active since 2022

Statistics

  • Thankful Level 2

View badges

Content Feed

View by

Question


If statement not replacing matrix elements correctly
Hello I have created a nested if loop inside a for loop which tries to iterate on a matrix produced previously from another for ...

1 month ago | 1 answer | 0

1

answer

Question


for loop is endless
Hello all, I am trying to create a for loop for 10,000 iterations. I start by creating an empty vector which I then plug in in...

1 month ago | 1 answer | 0

1

answer

Answered
Computation to a matrix iteration not computing the rest of the steps
This is the answer: cpot2 = [0;0;0] %j = 0 %fcomp = (p*copt3(1,j+1))+(q*copt3(1,j+2))*exp(r*dt) for j = 1:3 cpot2(...

1 month ago | 0

| accepted

Question


Computation to a matrix iteration not computing the rest of the steps
Hello Everyone, I am fairly new to programming and I am attempting to iterate through a matrix that I succeffully computed (not ...

2 months ago | 1 answer | 0

1

answer