Hey ya'll. I was wondering if there is a built-in matlab function or tool I can use to implicitly solve a non linear equation with just one variable.
It is this function (the fully integrated part):
I tried using the solve function in matlab, but this blew it up. I know everything but M.
Anybody have an idea?
edit: I guess what I'm looking for is a built-in function that matlab has that can approximate this M value for me. The scope of the project i am working on is well beyond just solving for M, so I would rather like to avoid writing my own numerical solver.
Hey ya'll. I was wondering if there is a built-in matlab function or tool I can use to implicitly solve a non linear equation with just one variable.
It is this function (the fully integrated part):
I tried using the solve function in matlab, but this blew it up. I know everything but M.
Anybody have an idea?
edit: I guess what I'm looking for is a built-in function that matlab has that can approximate this M value for me. The scope of the project i am working on is well beyond just solving for M, so I would rather like to avoid writing my own numerical solver.
Ah, compressible flow, how do I hate thee? Let me count the ways...
Anyway, it sounds like you're looking for the fzero command.
Hey ya'll. I was wondering if there is a built-in matlab function or tool I can use to implicitly solve a non linear equation with just one variable.
It is this function (the fully integrated part):
I tried using the solve function in matlab, but this blew it up. I know everything but M.
Anybody have an idea?
edit: I guess what I'm looking for is a built-in function that matlab has that can approximate this M value for me. The scope of the project i am working on is well beyond just solving for M, so I would rather like to avoid writing my own numerical solver.
Ah, compressible flow, how do I hate thee? Let me count the ways...
Anyway, it sounds like you're looking for the fzero command.
Posts
Anyway, it sounds like you're looking for the fzero command.
Method of characteristics ftw.
Anyway, found a good quadratic approximation ..
http://www.pdas.com/pm.pdf