About Table Comparing in matlab code
Show older comments
1 Comment
Cris LaPierre
on 6 Oct 2020
It's actually much more helpful if you attach your data using the paperclip icon. Your also more likely to get responses, as people are generally unwilling to transcribe data from an image to work on your question.
Also, what do you mean by get the percentage of test_data? Can you provide an example of what the expected output is for even one of of your input values?
Share what code you have tried as well. That helps us see what it is you are trying to do sometimes better than words alone.
Accepted Answer
More Answers (1)
Ayush Gupta
on 8 Oct 2020
1 vote
The data in excel file can be read using the readmatrix function in MATLAB. The Test_data in the second sheet can be given values accordingly defined in the first sheet using the splitapply function of MATLAB. To read about the documentation of readmatrix, look here. To see some examples on how to use splitapply function, click here.
Categories
Find more on Tables 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!