MATLAB Answers

W-M function to plot 3d fractal surfaces

23 views (last 30 days)
haojie men
haojie men on 7 Apr 2021
Edited: NAN ZHANG on 16 Apr 2021 at 11:02
I want to plot a fractal 3D surface using W-M function.
Here is my result:
It is different from fractal surfaces from other journal articles like this:
piture from An adhesive wear model of fractal surfaces in normal contact, X. Yin, K. Komvopoulos
I know maybe it can be resolved by increasing x and y number, but it takes a lot of time.
So, can anyone help me optimize the code?
Thanks!
  2 Comments

Sign in to comment.

Answers (1)

Sulaymon Eshkabilov
Sulaymon Eshkabilov on 7 Apr 2021
Hi,
Here are corrected codes of yours. One more important note that it is not a good practice to call your m-file with a MATLAB built-in fcn or command name, e.g., plot, grid, legend, exp, clc, ....
Good luck.
  2 Comments
NAN ZHANG
NAN ZHANG on 16 Apr 2021 at 10:45
Have you notice the units of X and Y? it's 'um' in Lin's paper, and 'm' in your program. Try again.

Sign in to comment.

Categories

Community Treasure Hunt

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

Start Hunting!

Translated by