W-M function to plot 3d fractal surfaces
Show older comments
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
KSSV
on 7 Apr 2021
You need to use loops in myF.m file....read about vectorizing the calculations. Read about element by element calculations.
haojie men
on 7 Apr 2021
Answers (2)
Artos Cen
on 21 Feb 2022
0 votes
Hi
Just wanted to check up if you have already solved the problem yet. Thanks!
Categories
Find more on Fractals in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!