Use specific value in a dataset array
7 次查看(过去 30 天)
显示 更早的评论
I have imported a file from excel. I am now trying to do few calculations based on each value in the spreadsheet. For example, if x and y are two columns in the dataset, I want Matlab to choose the corresponding values of the other column. i.e if x=a, then choose corresponding y=P from the dataset as specified in the imported excel spreadsheet and perform calculations for z=1-y and I want it to do it for every value of x. Is there a specific way to do this? Thanks.
3 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Spreadsheets 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!