Guest User

Untitled

a guest
Oct 23rd, 2018
111
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. fileID=fopen(uigetfile('*.txt', 'Seleccione el archivo'));
  2. [archivo,~,~,~]=fopen(fileID(1));
  3. datos1=dlmread(archivo,' ',10,0);
  4. fclose(fileID);
  5. set(handles.uitable1,'Data',datos1);
  6.  
  7. [valor_maximo, canal_maximo]=max(datos1(:,2));
  8. conteomin=ceil(valor_maximo*0.05);
  9. [canal_minimo, valor_minimo]=find(datos1(:,2) == conteomin);
Add Comment
Please, Sign In to add comment