Turn a two dimensional vector into an array
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
I have a subset Ω of
. I have discretised this subset into
points,
, also consider an identical copy of
,
.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/821165/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/821170/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/821205/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/821210/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/821215/image.png)
Now, I have a given function
,
and want to create a matrix
where K is of the form :
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/821180/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/821185/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/821190/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/821195/image.png)
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.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/821200/image.png)
0 Commenti
Risposte (1)
Vedere anche
Categorie
Scopri di più su Matrices and Arrays in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!