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

Wayne King
Wayne King 2011년 10월 29일
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
Fangjun Jiang
Fangjun Jiang 2011년 10월 29일
After posting your question, read it again to see if it makes sense at all.
Naz
Naz 2011년 10월 29일
Yeah, I don't get it neither.
FIR
FIR 2011년 10월 31일
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

댓글을 달려면 로그인하십시오.

 채택된 답변

Walter Roberson
Walter Roberson 2011년 10월 31일

0 개 추천

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

FIR
FIR 2011년 10월 31일
walter can u send that code for that loop process please

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Large Files and Big Data에 대해 자세히 알아보기

태그

질문:

FIR
2011년 10월 29일

Community Treasure Hunt

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

Start Hunting!

Translated by