I had a function of 3 variables f'(kx,ky,kz)(adsbygoogle = window.adsbygoogle || []).push({});

and did an ifft

f = ifft(f')

and now i have a function where inside a small polygon the function f = 1, and outside f=0, within a cube space of length L.

how do i plot a scatter graph for this function where there is a point when f =1, and no point when f=0?

**Physics Forums | Science Articles, Homework Help, Discussion**

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# MATLAB Plotting a 3d function

Have something to add?

Draft saved
Draft deleted

**Physics Forums | Science Articles, Homework Help, Discussion**