how to solve equation for a given matrix
이전 댓글 표시
Hi everybody
I have got equation which is ;
Eq = 0.4075*exp(-((e-14.87)/11.39).^2) + 0.5621*exp(-((e-18.64)/27.74).^2);
e is a 100*1 double matrix.
I would like to use the value of each row as an input to my function and save the results as matrix again. I used solve command, I could get any results.
Any suggestion is highly appreciated.
Thanks!!
댓글 수: 5
madhan ravi
2019년 5월 23일
just loop through e and solve the equations?
engineer
2019년 5월 23일
madhan ravi
2019년 5월 23일
Ah sorry which variable are you the solving for?, you say you already have e in hand?
engineer
2019년 5월 23일
madhan ravi
2019년 5월 23일
e = .... 100 X 1 values
Eq = 0.4075*exp(-((e-14.87)/11.39).^2) + 0.5621*exp(-((e-18.64)/27.74).^2); % doesn't this get you the required results?
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Mathematics에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!