Community Profile

photo

Nicholas Gillam


5 total contributions since 2019

Nicholas Gillam's Badges

  • Thankful Level 1

View details...

Contributions in
View by

Question


Output is giving me "Empty sym: 0-by-1"
syms s g = (s^2-2*s+2)/((s+2)*(s+4)*(s+5)*(s+6)) x = diff(g) b = roots(x) I'm trying to solve for the roots of the different...

3 mois ago | 2 answers | 0

2

answers

Question


Why am I getting "Undefined function or variable" when I use an exponential in the function?
My code worked for other functions, but as soon as I use the exponential function, I am getting an error saying that "I" is unde...

10 mois ago | 1 answer | 0

1

answer

Question


Why is the output of my function infinity?
I'm doing code for the trapezoidal rule. I checked my code with simple functions at first to make sure it was outputting correct...

10 mois ago | 2 answers | 0

2

answers

Question


Why am I not able to use decimal numbers in my code? (Index in position 1 is invalid. Array indices must be positive integers or logical values)
I'm getting the error "Index in position 1 is invalid. Array indices must be positive integers or logical values", meaning that ...

10 mois ago | 2 answers | 0

2

answers

Question


Index exceeds the number of array elements (1)
I'm getting the error as stated in the title, however I cannot determine where it comes from. Can anyone help me locate it and t...

11 mois ago | 2 answers | 0

2

answers