Why I get 1×0 empty double row vector?
Mostrar comentarios más antiguos
Hi, I have problem with my code. I don't know why fidx1 is 1x0 empty double row vector?
min(oh1) and max(oh1) results are:
>>min(oh1)
ans = 102.8890
>> max(oh1)
ans = 106.2470
d1=[0 min(oh1) min(oh1)];
e1=[max(oh1) max(oh1) max([oh1 oh2 oh3 oh4 oh5 oh7 oh11 oh13 oh19 oh23 oh25 oh29 oh35 oh37])];
X1=[xq1];
Y1=[100*r1];
lidx1 = find(X1 == max(oh1));
Ylidx1 = Y1(lidx1);
fidx1 = find(X1 == min(oh1));
Yfidx1 = Y1(fidx1);
4 comentarios
Walter Roberson
el 27 de Dic. de 2020
Why do you assume that there is any relationship between xq1 and oh1? Why do you assume that there is bit-for-bit exact matches?
Aleksandra Pawlak
el 27 de Dic. de 2020
Aleksandra Pawlak
el 27 de Dic. de 2020
Image Analyst
el 28 de Dic. de 2020
A thorough discussion and solution is in the FAQ:
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Computer Vision with Simulink en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!