The problem with the function of the vector

The problem with the function of the vector - Mensajes

#1 Publicado: 7/4/2020 11:49:26
Andrey007

Andrey007

0 me gusta en 7 mensajes.

Grupo: User

Please help with the prZadanie 2.sm (9,86 KiB) descargado 1452 vez(es).oblem. For some reason, the program does not like the range j, why it is not clear.
Thanks for the help
#2 Publicado: 7/4/2020 16:16:24
Andrey007

Andrey007

0 me gusta en 7 mensajes.

Grupo: User

Archivo no encontrado.
Wrote

Please help with the prArchivo no encontrado.oblem. For some reason, the program does not like the range j, why it is not clear.
Thanks for the help



#3 Publicado: 7/4/2020 16:19:22
Andrey007

Andrey007

0 me gusta en 7 mensajes.

Grupo: User

The problem with the function of the vector
#4 Publicado: 7/4/2020 19:47:33
Davide Carpi

Davide Carpi

1.443 me gusta en 2.936 mensajes.

Grupo: Moderator

Hello [userlink]Andrey007[/userlink]

Here there is your code adaped to SS syntax.

To loop the (scalar) functions through the values of a vector (1-column matrix) you can use vectorize or a for/while function.

Since in A=0 Kg(A) is indeterminate (0/0) and Kn(a) is an infinity and you can't plot that I've started the range from the 2nd value within the original range.

Zadanie 2_1.sm (12,66 KiB) descargado 1448 vez(es).
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
#5 Publicado: 8/4/2020 9:29:23
Jean Giraud

Jean Giraud

983 me gusta en 6.866 mensajes.

Grupo: User

Sorry for some gross mistake ... deleted.
You can use Smath code floor/ceiling


Zadanie 2_1[floor].sm (15,05 KiB) descargado 1266 vez(es).
#6 Publicado: 8/4/2020 17:48:42
Andrey007

Andrey007

0 me gusta en 7 mensajes.

Grupo: User

Thanks for the help, be healthy!
  • Nuevos mensajes
  • Sin mensajes nuevos