1-Visitor
December 3, 2017
Question
Nested For loop and If programming Help
- December 3, 2017
- 3 replies
- 2188 views
Hi,
Herewith, I have attached the problem (mcdx file) that I am having trouble with.
I have a vector C with 105 elements in it
I have another function x(y) with 'y' varying from 0 to 1 with a stepsize of 0.001 (Vector with 1000 elements in it)
I want to find out which value of 'y' would give the resulting value of 'x' which matches the element in C. Therefore, I need to create a matrix M3 (105 Elements) with 'y' that was found out before for that particular value of C and x.
For example The first element in C is 0.184. The y value 0.635 results in x = 0.184, matching C. So the first element of my M3 matrix is 0.635.
Please refer to the attached MATHCAD file for the problem.
Thank You!

