• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

late nite Matlab help!

Omegachi

Diamond Member
okay, i am trying to use the the step() function to find the step response of this equation

syms c l s r;
num = (s*l + (1/(s*c)) + r)
den = r

step(num,den)


for some reason i am getting a error message when i try to solve that:

??? sym c;
|
Error: Missing operator, comma, or semicolon.



what is going on?
 
i believe matlab must have the symbolic math toolbox in order for that to work.... if you have a non-student version that it might not have that toolbox. *shrug* that's just what i glean from some pages i found on google...

i get the same error for what it is worth...
 
first off, did you try "help step"? my matlab is a little rusty, but go ahead and create a transfer function and then use the step function. that might work.
 
Back
Top