1 страниц (8 вхождений)
Data range issues - Can't get it to work correctly - Сообщения
#1 Опубликовано: 27.05.2019 20:56:17
I'm having issues with using variables, I have a bunch of equations that have a single variable (end goal is to plot this) and when I use variable functions/matrices they make the outputs wrong somehow.
I have no issues when setting x to be a single number, but when I set x to a range of numbers the outputs go wrong.

https://imgur.com/a/B4Y8Sod

https://imgur.com/a/Qk3IxY8
Am I just doing it wrong?
I have no issues when setting x to be a single number, but when I set x to a range of numbers the outputs go wrong.
https://imgur.com/a/B4Y8Sod
https://imgur.com/a/Qk3IxY8
Am I just doing it wrong?
#2 Опубликовано: 27.05.2019 21:49:02
WroteI'm having issues with using variables, I have a bunch of equations that have a single variable (end goal is to plot this) and when I use variable functions/matrices they make the outputs wrong somehow.
I have no issues when setting x to be a single number, but when I set x to a range of numbers the outputs go wrong.
Please: attach the Smath work sheet to see what you may be missing.
#3 Опубликовано: 27.05.2019 22:37:14
Smath Data Ranges.sm (694 КиБ) скачан 44 раз(а).
Here is the smath file, the important parts are at the bottom.
Here is the smath file, the important parts are at the bottom.
#4 Опубликовано: 28.05.2019 05:09:27
1 пользователям понравился этот пост
frapuano 28.05.2019 06:56:00
#5 Опубликовано: 28.05.2019 09:33:46
WroteHere is the smath file, the important parts are at the bottom.
...added at the end of your document.
Smath Data Ranges.sm (700 КиБ) скачан 31 раз(а).
#6 Опубликовано: 28.05.2019 23:26:56
#7 Опубликовано: 29.05.2019 05:41:53
Obviously it's not a trick.
That way you ask to perform the evaluation element by element contained in the vector.
In the wrong way you used, perform the evaluation in a matrix sense (following the rules on matrix operations) because x1 is a matrix (vector).
sergio
That way you ask to perform the evaluation element by element contained in the vector.
In the wrong way you used, perform the evaluation in a matrix sense (following the rules on matrix operations) because x1 is a matrix (vector).
sergio
#8 Опубликовано: 29.05.2019 09:52:57
1 страниц (8 вхождений)
-
Новые сообщения
-
Нет новых сообщений