Hi,(adsbygoogle = window.adsbygoogle || []).push({});

I am trying to model a simple 1DOF suspension system [mass(ms) 300kg, stiffness(k) 15000N/m, damping coefficient(c) 2500Ns/m. Its subjected to different inputs and then needs to simulate the dynamic response of the system to a road surface that has the characteristics of a flat road, a sine wave surface and then a step.

I completed the model. However, i have now opened the file again and i keep getting the error message:

Error evaluating parameter 'Numerator' in 'HC1/Transfer Fcn': Undefined function or variable 'c'

I have defined "c" as 2500 in the "m" file and the matlab working directory is correct as far as i know. I have attached a screen shot of the error. Does any1 know how to solve this problem?

**Physics Forums - The Fusion of Science and Community**

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Matlab Error: Undefine Variable

Loading...

Similar Threads - Matlab Error Undefine | Date |
---|---|

Matlab error matrix function | Apr 25, 2016 |

Insights 5 Common MATLAB Error Messages and How to Fix Them - Comments | May 19, 2015 |

[MATLAB] I am getting this error, could anyone solve it please? | Dec 8, 2014 |

Error code in Matlab | Oct 4, 2014 |

Matlab help error : Undefined function or method 'rcpulse' for input arguments of typ | Mar 21, 2012 |

**Physics Forums - The Fusion of Science and Community**