problem in iteration code

1 次查看(过去 30 天)
NILESH PANDEY
NILESH PANDEY 2017-2-7
please refer my last comment before start working on this code
i have to find the value of y(i) till y(i)-y(i-1)<=2.59e-4
can anyone help me with the code first correcting the error then how can i again start the iteration if y(i)-y(i-1)=>2.59e-4
necessary file is attached with question

回答(1 个)

Walter Roberson
Walter Roberson 2017-2-9
By the point of vpaQ(3), your expression is so unstable that if you calculate the expression in floating point, then the difference in values between adjacent representable double precision numbers can on order of 10^33.
I will see if I can figure out what resolution would be required for reasonable operation.
  8 个评论
NILESH PANDEY
NILESH PANDEY 2017-2-11
Thanks for your opinion i am also doing some test on my project which is the base of this code as soon i get any results that may help i'll share with you also Sir if you have anything more that can guide me You Are Most Welcome Thank You
NILESH PANDEY
NILESH PANDEY 2017-2-12
编辑:NILESH PANDEY 2017-2-13
*NOTE*
Sir, after your analysis i started working on my previous work which was related to this code,when i went in depth of mathematics i have found there is some mistakes have been made in literature of this classic math which was published by some scientists on ieee. after finding the mistakes i have sent a copy of these to California Berkeley University Professor he also agreed with me,now we are working on this how to overcome mistakes so i suggested you if you are working on my code please hold this for a little more time although algorithm will be same but the values of constant will be different.
and sir thank you for your analysis after your guidance i focused my attention more on base of this mathematics and i found mistakes if you didn't guide me then may be i never bothered about this. when i'll overcome from the mistakes and i got correct code i'll discuss with You and my apologize for taking your time on a wrong code
*and also if any one working on this code kindly hold your work until i solve correct mathematics *

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Programming 的更多信息

标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by