Skip to main content
1-Visitor
February 10, 2014
Solved

Given/Find command, variable not defined

  • February 10, 2014
  • 1 reply
  • 1228 views

Hi all,

I'm trying to solve a system of equations of motion using the given and find commands in Matlab.

However I get a variable undifined error on the find command and I cannot figure out why.

See the attached worksheet for my attempt.

Can anyone figure out what I'm doing wrong?

Best answer by AlanStevens

Fi is your problem. You've written it as though it's another component of F, along with F1, F2 etc.. If this was intended then i needs to be a pre-specified integer.

Alan

1 reply

19-Tanzanite
February 10, 2014

Fi is your problem. You've written it as though it's another component of F, along with F1, F2 etc.. If this was intended then i needs to be a pre-specified integer.

Alan

jpromol1-VisitorAuthor
1-Visitor
February 10, 2014

Thank you!

You're right I can't belief I've not seen this myself...

It works now.