syms tau_new b rc=1;x=linspace(1,100,1000);R=exp(1).*x.*rc;b0=.3614/sqrt(2);eqns=[(b./(8*pi)).*(1./R).*(log(R./rc)+1)+(b./(2*b0))-tau_new==0, (b./(2*pi)).*(1./R).*(log(R./rc))+(b./(b0))-tau_new==0];vars=[tau_new b];[solv, solu] = solve(eqns, vars)
MATLAB: Need to solve equations which take vector inputs. The solv & solu are not supposed to be zero; as the variable R is changing they should change as well and should be vectors. Could anyone help?
equationMATLABsolvesystem
Best Answer