The problem with the function of the vector

The problem with the function of the vector - Сообщения

#1 Опубликовано: 07.04.2020 11:49:26
Andrey007

Andrey007

0 сообщений из 7 понравились пользователям.

Группа: User

Please help with the prZadanie 2.sm (9 КиБ) скачан 35 раз(а).oblem. For some reason, the program does not like the range j, why it is not clear.
Thanks for the help
#2 Опубликовано: 07.04.2020 16:16:24
Andrey007

Andrey007

0 сообщений из 7 понравились пользователям.

Группа: User

Файл не найден.
Wrote

Please help with the prФайл не найден.oblem. For some reason, the program does not like the range j, why it is not clear.
Thanks for the help



#3 Опубликовано: 07.04.2020 16:19:22
Andrey007

Andrey007

0 сообщений из 7 понравились пользователям.

Группа: User

The problem with the function of the vector
#4 Опубликовано: 07.04.2020 19:47:33
Davide Carpi

Davide Carpi

1415 сообщений из 2872 понравились пользователям.

Группа: 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 КиБ) скачан 38 раз(а).
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
#5 Опубликовано: 08.04.2020 09:29:23
Jean Giraud

Jean Giraud

983 сообщений из 6866 понравились пользователям.

Группа: User

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


Zadanie 2_1[floor].sm (15 КиБ) скачан 42 раз(а).
#6 Опубликовано: 08.04.2020 17:48:42
Andrey007

Andrey007

0 сообщений из 7 понравились пользователям.

Группа: User

Thanks for the help, be healthy!
  • Новые сообщения Новые сообщения
  • Нет новых сообщений Нет новых сообщений