Vector form of the function

조회 수: 4 (최근 30일)
Mikl Nik
Mikl Nik 2020년 12월 16일
Hi!
Can you please help me to write this function in vector form without loop?
F - matrix n x m; U - matrix 1 x n; V - matrix 1 x m; f, x, y - functions,
Thanx!
for i = 1:n
for j = 1:m
F(i,j) = f(x(U(i), V(j)), y(U(i),V(j)));
end
end

답변 (0개)

카테고리

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

태그

Community Treasure Hunt

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

Start Hunting!

Translated by