Feeds
已回答
construct meshgrid matrices without using function meshgrid.
function [A,B] = mgrid(x,y) m = length(x); n = length(y); for i= 1:n for j= 1:m A(i,j) = x(1,j); end end ...
construct meshgrid matrices without using function meshgrid.
function [A,B] = mgrid(x,y) m = length(x); n = length(y); for i= 1:n for j= 1:m A(i,j) = x(1,j); end end ...
6 years 前 | 0