Borrar filtros
Borrar filtros

Info

La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.

The function without if statement

1 visualización (últimos 30 días)
Master Blabla
Master Blabla el 17 de Nov. de 2020
Cerrada: MATLAB Answer Bot el 20 de Ag. de 2021
How to vectorize this function with if statement
Number = 100
VectorIm = zeros(5000, Number); %%% initialise VectorIm with 5000 and 100
i = 1; %%% counter of column
%%% Values - distance between VectorIm image and ManyVecImage image (float value)

Respuestas (1)

Bjorn Gustavsson
Bjorn Gustavsson el 17 de Nov. de 2020
That should to be the same as:
VectorIm = ManyVecImage(:,Values < 10000);
HTH

La pregunta está cerrada.

Etiquetas

Productos


Versión

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by