How I define the variable B in a function [A, B] = ReadHypercube(strcat(pathname,filename)); ?
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
[filename, pathname, indx] = uigetfile( ...
{'*.hdr','Image Cube(*.bil)';
'*.*', 'All Files (*.*)'},'Pick a file','file path');
if indx == 1
[A, B] = ReadHypercube(strcat(pathname,filename));
elseif indx == 2
I will appreciate it. Thanks
4 comentarios
Surya Gnyawali
el 26 de Abr. de 2018
Editada: Stephen23
el 26 de Abr. de 2018
Rik
el 26 de Abr. de 2018
We have no idea what function you are trying to use/modify, so we can't help you. Based on the second block of code, I would guess that B is a columnar vector that contains the wavelengths of the hypercube, but we have no idea what your function does or how it would have to infer this vector.
Respuestas (0)
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!