• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Henry Wong
Saloon Keepers:
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Frits Walraven

Can you help me with this line of code that I am missing? I need it to also show the level of error

 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello, I need help with this code in matlab. This is Hermite interpolation, in which the polynomial obtained in point 1.03 is approximated, then the real error and the error bound are calculated. The detail is that I have not been able to calculate the Lagrange error bound. Can you help me with this line of code that I am missing? I need it to also show the level of error committed
 
Saloon Keeper
Posts: 15729
368
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Welcome CodeRanch!

It's been a looooong time since I have coded in MatLab. I'm not sure I'll be able to help you right away.

One thing that stands out to me is that you define xprueba, but don't appear to use it. Was that your intention?
 
Isabel Zambrano
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello, thanks for answering. That is not my intention, xproba should calculate the approximation to 1.03 of the polynomial obtained, however it does not do so. Just like the error level, it does not execute that part either. I need you to give me the error rate
 
What's a year in metric? Do you know this metric stuff tiny ad?
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic