how to form output from this given data
1 次查看(过去 30 天)
显示 更早的评论
i have a combination of data
column1 column2
3 75
4 15
5 20
6 10
7 00
i my program i have given two inputs for gettings two column of data
enter column 1 data
enter column 1 data
for example i give as 6 and 10
i will get output as 0.6 97.5 0.003
for example i give as 4 and 15
i will get output as 0.9 95.5 0.02
these inputs should not given manually...i need it automaticaal to be done and produce output ...for those data ,please tell how to process
采纳的回答
Walter Roberson
2011-10-31
importdata() or textscan() to read the stored input data in to a matrix, and then loop around the entries making the calls you need.
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Large Files and Big Data 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!