Feeds
提问
How to plot the following function using surf function?
How to plot the following function using surf function?
5 years 前 | 0 个回答 | 0
0
个回答提问
How to vectorize the following code snippet?
x = -1.0:0.2:1.0; y = -2:0.25:3; length_x = length(x); length_y = length(y); for nx=1:length_x for ny=1:length_y ...
5 years 前 | 1 个回答 | 0
1
个回答提问
What changes should be made to speed up the given script?
for n = 1:10000 x(n) = rand(); end
5 years 前 | 1 个回答 | 0
1
个回答提问
How to vectorize the following code snippet ?
M = randi([-10 10],10,10); [m, n] = size(M); out = zeros(m, n); for x = 1:m for y = 1:n if M(x, y) > 0 ...
5 years 前 | 1 个回答 | 0

