nafets88
Electrical
- Mar 11, 2009
- 1
Hello!
I am a matlab user but now I find myself in the position were I need to work with mathcad and I am little confused in how things work in this program. I have a problem regarding generating vectors. I first want to generate a vector of lets say 128 elements normally distributed with a theoretical mean and deviation of 0 and 1. After this I want to generate 256 of these vectors so that for each one I can calculate mean and stdev and place them in another two vectors.
I tried to do this by putting each of the 256 vectors as elements of another vector so that the program can generate automatically the vectors and then calculate mean and stdev. Obviously the program generated 256 identical vectors. Can someone please help me? I am open to other solutions as well. Thank you.
I am a matlab user but now I find myself in the position were I need to work with mathcad and I am little confused in how things work in this program. I have a problem regarding generating vectors. I first want to generate a vector of lets say 128 elements normally distributed with a theoretical mean and deviation of 0 and 1. After this I want to generate 256 of these vectors so that for each one I can calculate mean and stdev and place them in another two vectors.
I tried to do this by putting each of the 256 vectors as elements of another vector so that the program can generate automatically the vectors and then calculate mean and stdev. Obviously the program generated 256 identical vectors. Can someone please help me? I am open to other solutions as well. Thank you.