choose minimum positive number

choose minimum positive number - Messaggi

#1 Pubblicato: 27/05/2020 15:51:45
Wojtek

Wojtek

0 apprezzamenti in 2 post.

Gruppo: 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 Pubblicato: 27/05/2020 19:40:09
Jean Giraud

Jean Giraud

983 apprezzamenti in 6.866 post.

Gruppo: User

lookup.JPG
1 utenti hanno apprezzato questo post
frapuano 28/05/2020 05:09:00
#3 Pubblicato: 27/05/2020 21:03:55
Davide Carpi

Davide Carpi

1.443 apprezzamenti in 2.936 post.

Gruppo: 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 utenti hanno apprezzato questo post
frapuano 28/05/2020 05:09:00
#4 Pubblicato: 27/05/2020 21:56:07
Jean Giraud

Jean Giraud

983 apprezzamenti in 6.866 post.

Gruppo: User

Truth table in more general, multi purpose.

Utilities Matrix Truth Table [Locate row_col].sm (43,62 KiB) scaricato 1025 volta(e).
1 utenti hanno apprezzato questo post
frapuano 28/05/2020 05:09:00
#5 Pubblicato: 28/05/2020 01:53:56
Alvaro

Alvaro

1.139 apprezzamenti in 1.805 post.

Gruppo: User

Hi. Another couple of solutions.

problem.sm (13,97 KiB) scaricato 1207 volta(e).

Best regards.
Alvaro.
2 utenti hanno apprezzato questo post
frapuano 28/05/2020 05:09:00, sergio 28/05/2020 05:33:00
#6 Pubblicato: 28/05/2020 09:29:32
Jean Giraud

Jean Giraud

983 apprezzamenti in 6.866 post.

Gruppo: User

More minimalist code.

FindIdx.PNG
1 utenti hanno apprezzato questo post
sergio 28/05/2020 10:10:00
  • Nuovi post
  • Nessun nuovo post