Can you help me how to interpolate data in the excel table?
2 views (last 30 days)
Show older comments
Can you help me how to interpolate data in the excel table?(my table on excel look like this)
- set(handles.total_answer,'String',out);
- P EL
- 800 300
- 750 250
- 725 175
- 700 100
My GUI solves power, after that if the answer match on the excel he will give the equivalent row value..my problem now, for example i got result of 705 so the there is not same number in excel.. so my solution it will interpolate the value from 700-725? How do I solve that?
0 Comments
Answers (1)
Image Analyst
on 17 Jan 2012
I'm not sure what an Excel row would look like if it looked like this: "* set(handles.total_answer,'String',out); * P EL * 800 300 * 750 250 * 725 175 * 700 100" What's going on with the set() statment? Is that a string in an Excel cell? What's going on with the asterisks and other character strings (P & EL)???
Anyway, looking at just the numbers 800 300 750 250 725 175 700 100, it looks like 705 could be in there in 5 different places, between 800 & 300, between 300 & 750, between 750 & 250, between 250 & 725, and between 725 and 175. Bottom line, I have no idea what you tried to explain, so just take a look at interp1() or look up interpolation in wikipedia. If that doesn't work, come beck here and explain better.
6 Comments
See Also
Categories
Find more on Data Export to MATLAB in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!