Community Tip - Want the oppurtunity to discuss enhancements to PTC products? Join a working group! X
Hi. How do i plot samplings data in Mathcad. Something like this:
I want to plot all 20 samplings
Thanks in advance
Solved! Go to Solution.
You are adding the vector x 5 times, so you get the 5-fold vector and when you divide it by 5 you end up with the original vector.
What you had in mind was summing up the single elements of the vector you get hold on using the vector subscript ([). But you have to be aware that Mathcad by default would begin indexing with zero, so you would sum up from i=0 to 4.
Osman,
You need to enter your X-data into an array, define k as a range to index that array, and then plot X versus k.
See attached example.
Regards,
Luc
Hi LucMeekes
Thanks for the reply
When i do this, i use the sample mean formula for calculating the sample mean value. But Mathcad shows all 20 values:
You are adding the vector x 5 times, so you get the 5-fold vector and when you divide it by 5 you end up with the original vector.
What you had in mind was summing up the single elements of the vector you get hold on using the vector subscript ([). But you have to be aware that Mathcad by default would begin indexing with zero, so you would sum up from i=0 to 4.
you are a genius !. Thank you so much !