To resolve issues starting MATLAB on Mac OS X 10.10 (Yosemite) visit: http://www.mathworks.com/matlabcentral/answers/159016
Here is my for loop
for i = 300:20:1000
K = exp(18.84-21788/i); solve('(x^2/(1-x^2)) = K', 'x')
What I'm trying to get this to do is solve for K by incrementing i by 20 all the way up to 1000.
For each K I want to take that value, put it into the solve function and have it give me a numerical value for x. I also need x to be between 0 & 1.
I can't seem to figure this out. Thanks
No products are associated with this question.