Turn a two dimensional vector into an array

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.

Categories

Find more on Loops and Conditional Statements in Help Center and File Exchange

Asked:

on 2 Dec 2021

Answered:

on 2 Dec 2021

Community Treasure Hunt

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

Start Hunting!