Community Profile

photo

Shawn Alcorn


Last seen: 2 jours il y a Actif depuis 2021

Statistics

  • Thankful Level 2

Afficher les badges

Content Feed

Afficher par

Question


Why am I getting this interp1 error?
%% AEM 588 HW1 Question 2 clear all; close all; clc; global A_const; global B_const; global C_const; mu = 398600; %km^3/s...

2 jours il y a | 1 réponse | 0

0

réponse

Question


Issue during for loop.
The issue occurs during the for loop using j. When I calculate deltaTheta it should be pretty constant at the start but eventual...

5 mois il y a | 1 réponse | 0

1

réponse

Question


While loop setting error calculation is not calculating properly.
While loop within code is suppose to adjust betaIter until thetaTanIter is within a certain value of tangent of 10 degrees. The ...

5 mois il y a | 1 réponse | 0

1

réponse

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

11 mois il y a | 1 réponse | 0

1

réponse

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

11 mois il y a | 1 réponse | 0

1

réponse

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

11 mois il y a | 2 réponses | 0

2

réponses

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

environ un an il y a | 1 réponse | 0

1

réponse