필터 지우기
필터 지우기

how to preallocate rows or columns of matrix through iteration?

조회 수: 6 (최근 30일)
vishnu
vishnu 2020년 1월 27일
편집: vishnu 2023년 4월 9일
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

채택된 답변

Walter Roberson
Walter Roberson 2020년 1월 27일
locs = zeros(length(X), length(Y)) ;

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 MATLAB에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by