How to write if statement?
1 view (last 30 days)
How do I write an if statement saying if either input is a matrix, my program should throw a unique error message? (I cannot use isvector function, I think I am supposed to use length() or size() functions if that is possible). Thank you!