Community Tip - If community subscription notifications are filling up your inbox you can set up a daily digest and get all your notifications in a single email. X
I'm not sure why I'm not able to assign units to column "0" of an externally read data file without getting the error that "the value must be scalar or a matrix" ..? The other columns (1 thru 3 in my example) seem to accept the units definitions. Perhaps I just going about this all wrong, what am I missing, please?
Thanks,
Jay
Solved! Go to Solution.
Look at row 489.
You have at least two blocks of corrupted data in column 1.
It would be much more useful if you post the actual file, rather than a picture of the file.
TTFN
Thank-you very much for taking a look at this.
We need to see the data file and the worksheet that reads it.
Thank you ver much for taking a look at this.
Look at row 489.
You have at least two blocks of corrupted data in column 1.
That's something the posted picture would have never shown.
TTFN
Yes, you are right ... another lesson learned. Thanks for your time.
Jay
Thank you ... gee, I'm somewhat embarassed that I didn't notice that. I just received this block of data and didn't look it over too well. Humm ... guess there's a lesson somewhere in there. Thanks again for your time.
Jay
So the real question is what is the best way of discovering such mistakes, especially when the error message isn't informative enough? (above and beyond asking those with a spare pair of eyes on some forum )
Philip
So the real question is what is the best way of discovering such mistakes, especially when the error message isn't informative enough?
Always look at the data. Even if you don't have any apparent errors it is a really good idea to look at the data. Scan though the numbers (it's the first thing I did - the only thing I opened was the Excel file). I always graph the data and look at it, although not necessarily in Mathcad (I have other software that allows me to look at a very large number of files very easily). Maybe you see a spike. Or missing values (if you were to graph column 1 that's what you would see in this case). Or some other sort of weird behavior that you know can't be right. Looking at the data may take a little time, but it's likely to be a lot less time than could be wasted chasing red-herring "bugs" in the data analysis!