Community Profile

photo

Shawn Alcorn


Last seen: 9 días ago Active since 2021

Statistics

  • Thankful Level 2

View badges

Content Feed

View by

Question


Now trying to loop my code for lambda and calculate a CL for each lambda but my code runs only twice.
My code for the for loop for lambda only runs once but I need it to run for each value of lambda and save the CL value for each ...

2 meses ago | 1 answer | 0

1

answer

Question


Inverse of C matrix is Inf when it shouldn't be. How do I fix the matrix? The formula to calculate C is correct. May be an issue with input c.
This code gives me an INV(C) as INF. I believe the error is within the input of c into the calculation for C matrix. When I look...

2 meses ago | 1 answer | 0

1

answer

Question


How do I modify my code to get rid of this error: "Index exceeds the number of array elements. Index must not exceed 1. Error in AEM614HW2Q2 (line 35) "
This is my error. Index exceeds the number of array elements (1). Error in HW2P2 (line 35) C(j,n) = 2*b/(pi*...

2 meses ago | 2 answers | 0

2

answers

Question


How do I return to the 2nd For loop until the if statement is met before starting the 2nd iteration of the first For loop?
This may not be a very clean way to code this but, I am trying to get the 2nd For loop to repeat until the 2nd if loop condition...

6 meses ago | 1 answer | 0

1

answer