Skip to main content
20-Turquoise
October 28, 2010
Solved

Finding and Marking.

  • October 28, 2010
  • 33 replies
  • 13572 views

Hi,
I have a similar question and need help. ( WORKING ON .MCD12 )

A.PNGMark6DecNum( ).PNG

Finding the 6-decimal numbers and marking. (like as above)
Thanks in advance.
Regards, -LL-

Best answer by StuartBruff

The attached gives one possibility. Create a vector whose elements are 1 if the corresponding elements in the target vector match a given criteria (eg, have more than 3 decimal places). Then use that list to mark up the corresponding elements in the target vector.

Stuart

I don't know if it will work in M12, but it works in M11 and M15.

33 replies

23-Emerald V
October 28, 2010

The attached gives one possibility. Create a vector whose elements are 1 if the corresponding elements in the target vector match a given criteria (eg, have more than 3 decimal places). Then use that list to mark up the corresponding elements in the target vector.

Stuart

I don't know if it will work in M12, but it works in M11 and M15.

1-Visitor
October 28, 2010

Nice explanation Stuart.

Lovely use of the mod function.

Mike

23-Emerald V
October 28, 2010

Thanks, Mike.

As I hint at in the text, it needs a bit of care in the numerical round-off region, but the numbers given are relatively easy to deal with. Perhaps somebody might like to suggest a better selection function?

Stuart

1-Visitor
October 28, 2010

It might be worth creating a document of all your latest requests. Each request is similar and would make it much easier if augmented into one document with a brief explanation of how each function works.

You can create it or I will for you.

Cheers

Mike

lvl10720-TurquoiseAuthor
20-Turquoise
October 29, 2010

Oh, Yes, please, Mike. I don't have English enough to do that. I greatly appreciate your kindness.

Regards,

Loi.

1-Visitor
October 29, 2010

Loi,

I will make a document with all the functions which have been posted in yours threads.

Have you any plans for more threads before I start

Mike

lvl10720-TurquoiseAuthor
20-Turquoise
October 29, 2010

Thanks to all who replied.

Regards,

Loi Le.