Community Tip - Stay updated on what is happening on the PTC Community by subscribing to PTC Community Announcements. X
Hello,
Hello everyone,
I have a very simple question. I solved an integration and I was unable to generate a table with the data of that integration. I send my file here. Can anyone help me?
Thank you
Solved! Go to Solution.
You have defined z as a range, that is something completely different from a vector. And it is important that you understand that.
A Vector is a (single) column Matrix. Both a Vector and a Matrix are forms of an Array. Array's are mathematical constructs that you can Index, that is, you can point at an individual element of the Array.
A Range is just a list of numbers. In Mathcad you can/should use Ranges only to:
- Plot a function (over a range), the range can contain any linear sequence (equally spaced) of real numbers.
- Control a FOR loop in a program, or iterate a (set of) equations on worksheet level, again, the range can contain any real number sequence.
- Index into an Array, in this case the range must consist of integers only.
If you want that matrix, here's what you can do:
In the above program, k is a range used for the second AND the third purpose.
Success!
Luc
You should be able to get a table by entering:
C(z)=
and wait for the result..
Success!
Luc
Thank you Luc,
I'm trying to create a matrix with z and C (z) using the augment function and it doesn't work. C (z) and z are not vectors?
You have defined z as a range, that is something completely different from a vector. And it is important that you understand that.
A Vector is a (single) column Matrix. Both a Vector and a Matrix are forms of an Array. Array's are mathematical constructs that you can Index, that is, you can point at an individual element of the Array.
A Range is just a list of numbers. In Mathcad you can/should use Ranges only to:
- Plot a function (over a range), the range can contain any linear sequence (equally spaced) of real numbers.
- Control a FOR loop in a program, or iterate a (set of) equations on worksheet level, again, the range can contain any real number sequence.
- Index into an Array, in this case the range must consist of integers only.
If you want that matrix, here's what you can do:
In the above program, k is a range used for the second AND the third purpose.
Success!
Luc
Thank you very much Luc!!!