how to create 'if statement' for vector
‎Sep 13, 2024
01:55 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
‎Sep 13, 2024
01:55 AM
how to create 'if statement' for vector
Hi all, I've created a vector values as shown below and I want to check the design for each of the value is pass or not.
does anyone know how to create an 'if statement' to get the results as shown below?
Thank you for your kind help.
Solved! Go to Solution.
Labels:
- Labels:
-
Civil_Engineering
ACCEPTED SOLUTION
Accepted Solutions
‎Sep 13, 2024
04:24 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
5 REPLIES 5
‎Sep 13, 2024
03:50 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
‎Sep 13, 2024
03:50 AM
‎Sep 13, 2024
04:07 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
‎Sep 13, 2024
04:07 AM
My Vr is in vector value and not in a single value? can you make it works?
‎Sep 13, 2024
04:24 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
‎Sep 13, 2024
04:24 AM
Here's one possibility:
‎Sep 13, 2024
05:51 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
‎Sep 13, 2024
05:51 AM
It works just like what I want. Thank you so much!
‎Sep 13, 2024
08:11 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
‎Sep 13, 2024
08:11 AM
You could also do it without having to define a range variable i if you use vectorization:
I changed one value in t.w because otherwise all values would pass. The values shown as 0.03 m in l/150 actually are slightly smaller than 0.03 m and so would pass.