Borrar filtros
Borrar filtros

how to preallocate rows or columns of matrix through iteration?

6 visualizaciones (últimos 30 días)
hello, good morning everyone. please help me to preallocate the 'locs', thankyou.
clc; clear all;
I = zeros(151,151);
W=64;
%locs=zeros(151,1);
for
x = ;
y = ;
end

Respuesta aceptada

Walter Roberson
Walter Roberson el 27 de En. de 2020
locs = zeros(length(X), length(Y)) ;

Más respuestas (0)

Categorías

Más información sobre MATLAB en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by