The problem with the function of the vector

The problem with the function of the vector - 消息

#1 已发布: 2020/4/7 11:49:26
Andrey007

Andrey007

0个赞,共7个帖子。

组: User

Please help with the prZadanie 2.sm (9.86 KiB)已下载 1470 次。oblem. For some reason, the program does not like the range j, why it is not clear.
Thanks for the help
#2 已发布: 2020/4/7 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 已发布: 2020/4/7 16:19:22
Andrey007

Andrey007

0个赞,共7个帖子。

组: User

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

Davide Carpi

1,443个赞,共2,936个帖子。

组: 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)已下载 1462 次。
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
#5 已发布: 2020/4/8 09:29:23
Jean Giraud

Jean Giraud

983个赞,共6,866个帖子。

组: User

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


Zadanie 2_1[floor].sm (15.05 KiB)已下载 1280 次。
#6 已发布: 2020/4/8 17:48:42
Andrey007

Andrey007

0个赞,共7个帖子。

组: User

Thanks for the help, be healthy!
  • 有新帖
  • 无新帖