MATLAB: How can i solve a function for A, a constant ……… if the function’s intragrand is (x +A) and limits are 0 – 10 when function==0 ??? equationintegrationMATLABsolve How can I solve the following equation in Matlab for A, when z=0 ? z = integral 0-10 (x + A)dx Thanks, Best Answer Just do exactly what you said. WTP?See that:syms x Aint(x+A,x,[0,10])ans =10*A + 50Then in one line:solve(int(x+A,x,[0,10]) == 0,A)ans =-5 Related SolutionsMATLAB: How to solve equation trimf(x, [0 4 10]) = 0.5; >> fminsearch(@(x)(-0.5+trimf(x,[0 4 10])).^2,0)ans = 2Confirm:>> trimf(2,[0 4 10])ans = 0.5 MATLAB: How to graph an equation with ‘changing constant’ values Equation = @(x,y) Constant + 10 + 90*(x>=3) + 900*(x>=6) + 5.*x + 5.*y; Related QuestionHow can i solve these two equations simultaneously for A and BPlotting dirac delta function’s spectrumSimulink function’s output is it’s inputHow to solve this problem of integeral
Best Answer