I have a vector of equations in symbollic form instead of using a for loop to solve I want to solve them all at once for speed.
PmSol = linspace(0, .5, 1000);
eqn1 = 0.5*(x+1)*((1-x*x)^(0.5)) == Pm;
eqn = subs(eqn1, Pm, Pm_val);
I want to solve this very quickly. Do not want to use a for loop. How do vectorize the solve operation.