how to form output from this given data

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

4 Comments

How exactly from the example you gave:
3 75 4 15 5 20 6 10 7 00
does one produce from 6 and 10
0.6 97.5 0.003
After posting your question, read it again to see if it makes sense at all.
Yeah, I don't get it neither.
Fangjun the first is error rate the second is accuracy and third is bit stream error,it may be for any combination i just gave an example,it ma be a 3 20,3 10,4 10 ,4 00 etc

Sign in to comment.

 Accepted Answer

importdata() or textscan() to read the stored input data in to a matrix, and then loop around the entries making the calls you need.

1 Comment

walter can u send that code for that loop process please

Sign in to comment.

More Answers (0)

Categories

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!