1 страниц (6 вхождений)
Type conversion error - Сообщения
#1 Опубликовано: 13.05.2020 08:30:08
#2 Опубликовано: 13.05.2020 11:18:01
Hi. The error came from try to compare the vector time1 with the scalar T(1,1) in the first if. Maybe with the vectorization operator you can solve the issue, evaluating vectorize(rel(time1)).

If not, you can try to modify the code with a loop for each element in the time1, like in this example:

Best regards.
Alvaro.
If not, you can try to modify the code with a loop for each element in the time1, like in this example:
Best regards.
Alvaro.
1 пользователям понравился этот пост
frapuano 13.05.2020 13:56:00
#3 Опубликовано: 14.05.2020 03:33:37
Thanks. First one didn't work. Will try to add a loop as you suggested.
#4 Опубликовано: 14.05.2020 06:55:34
#5 Опубликовано: 14.05.2020 07:43:21
Also, you might use vectorize(rel(time1)) to apply the scalar function at each time1 value.
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
#6 Опубликовано: 14.05.2020 15:22:11
1 страниц (6 вхождений)
-
Новые сообщения
-
Нет новых сообщений