Turn a two dimensional vector into an array

1 view (last 30 days)
I have a subset Ω of . I have discretised this subset into points, , also consider an identical copy of , .
Now, I have a given function , and want to create a matrix where K is of the form :
How can I do this on matlab, I will allow the use of for loops but I dont want to loop over the entire that will take too long.

Answers (1)

Yongjian Feng
Yongjian Feng on 2 Dec 2021
Check this command?


Find more on Multidimensional Arrays 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!