Info
This question is closed. Reopen it to edit or answer.
I need a help for writing a code of a formula
4 views (last 30 days)
Show older comments
Hello Everyone, I am having difficulties to write the first and other expressions in Matlab. N is equal to 5. If you could help me I would be appreciated. Best Regards

3 Comments
Stephen23
on 17 May 2018
Hi Kumar,
I tried to write something based on your advice. Can you please kindly check the correctness of the codes.
T=1./((((ps(s).*pwg1)./(ps(s).*pwh1)).*tsholdFDMM+1).*(((pj(s).*pwf1)./(ps(s).*pwh1).*tsholdFDMM+1).^N).*(((pr(s).*pwc1)./(ps(s).*pwh1)).*tsholdFDMM+1));
y=tsholdFDMM;
syms y Bi x i
%Bi=limit((1/factorial(N-i))*diff(((((pj(s).*pwf1)./(ps(s).*pwh1)).*tsholdFDMM+1).^N).*T,(N-i)), y, -((ps(s).*pwh1)./(pj(s).*pwf1)))
A=symsum(limit((1/factorial(N-i))*diff(((((pj(s).*pwf1)./(ps(s).*pwh1)).*tsholdFDMM+1).^N).*T,(N-i)), y, -((ps(s).*pwh1)./(pj(s).*pwf1))), i, 1, N)
John D'Errico
on 6 Jun 2018
Edited: John D'Errico
on 6 Jun 2018
Please do not add an answer just to get attention. And learn to use comments.
"I still did not get any help regarding my problem. If anyone could help me I would be appreciated. I do have latex expression and live editor can also suitable for me to implement. Does anyone have any experience to implement it the above figure in live editor? Best Regards"
Probably the reason why you've not yet gotten an answer because your formula is a bit confusing.
Answers (0)
This question is closed.
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!