Azzera filtri
Azzera filtri

how to preallocate rows or columns of matrix through iteration?

6 visualizzazioni (ultimi 30 giorni)
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

Risposta accettata

Walter Roberson
Walter Roberson il 27 Gen 2020
locs = zeros(length(X), length(Y)) ;

Più risposte (0)

Categorie

Scopri di più su MATLAB in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by