choose minimum positive number

choose minimum positive number - Messages

#1 Posted: 5/27/2020 3:51:45 PM
Wojtek

Wojtek

0 likes in 2 posts.

Group: User

for example if A=(a,b,c,d,e) and a=1, b=-3, c=4, d=2, e=-1,

how can I choose "d"(minimum positive number biger than one)

"A" is matrix
#2 Posted: 5/27/2020 7:40:09 PM
Jean Giraud

Jean Giraud

983 likes in 6,866 posts.

Group: User

lookup.JPG
1 users liked this post
frapuano 5/28/2020 5:09:00 AM
#3 Posted: 5/27/2020 9:03:55 PM
Davide Carpi

Davide Carpi

1,434 likes in 2,911 posts.

Group: Moderator

Also

2020-05-28 02_02_24-Window.png

(move the equal in the booleans from the leftmost addendum to the rightmost if you don't want to match zeros from the original vector as positive values)
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
1 users liked this post
frapuano 5/28/2020 5:09:00 AM
#4 Posted: 5/27/2020 9:56:07 PM
Jean Giraud

Jean Giraud

983 likes in 6,866 posts.

Group: User

Truth table in more general, multi purpose.

Utilities Matrix Truth Table [Locate row_col].sm (43.62 KiB) downloaded 364 time(s).
1 users liked this post
frapuano 5/28/2020 5:09:00 AM
#5 Posted: 5/28/2020 1:53:56 AM
Alvaro Diaz Falconi

Alvaro Diaz Falconi

1,075 likes in 1,740 posts.

Group: User

Hi. Another couple of solutions.

problem.sm (13.97 KiB) downloaded 453 time(s).

Best regards.
Alvaro.
2 users liked this post
frapuano 5/28/2020 5:09:00 AM, sergio 5/28/2020 5:33:00 AM
#6 Posted: 5/28/2020 9:29:32 AM
Jean Giraud

Jean Giraud

983 likes in 6,866 posts.

Group: User

More minimalist code.

FindIdx.PNG
1 users liked this post
sergio 5/28/2020 10:10:00 AM
  • New Posts
  • No New Posts