Generating data on unlevel background

Posted by bluejay93 on Stack Overflow See other posts from Stack Overflow or by bluejay93
Published on 2010-05-06T22:08:46Z Indexed on 2010/05/06 22:18 UTC
Read the original article Hit count: 133

I want to make an unlevel background and then generate some test data on that using Matlab. I was not clear when I asked this question earlier. So for this simple example

for i = 1:10
for j = 1:10
f(i,j)=X.^2 + Y.^2
end
end

where X and Y have been already defined, it plots it on a flat surface. I don't want to distort the function itself, but I want the surface that it goes onto to be unlevel, changed by some degree or something. I hope that's a little clearer.

© Stack Overflow or respective owner

Related posts about matlab

Related posts about signal-processing