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 comentarios

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

Iniciar sesión para comentar.

 Respuesta aceptada

Walter Roberson
Walter Roberson el 31 de Oct. de 2011

0 votos

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 comentario

FIR
FIR el 31 de Oct. de 2011
walter can u send that code for that loop process please

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Large Files and Big Data en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

FIR
el 29 de Oct. de 2011

Community Treasure Hunt

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

Start Hunting!

Translated by