Can you help me how to interpolate data in the excel table?
2 次查看(过去 30 天)
显示 更早的评论
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 个评论
回答(1 个)
Image Analyst
2012-1-17
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 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Data Export to MATLAB 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!