Grasshopper

algorithmic modeling for Rhino

How to check that the input data is numeric in matlab?

When I was working in Matlab, I came across the problem of checking input data for numeric type. I am interested to know how I can perform this check and make sure that the input values are indeed numeric.

Views: 15

Replies to This Discussion

If you need to check multiple variables, it is better to use a loop or function to automate the process of checking each variable for numeric type. You may find it easier to understand if you immediately study the information on matlab input validation http://devhubby.com/thread/how-to-verify-that-input-is-numeric-in-m...

RSS

About

Translate

Search

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service