Turn a two dimensional vector into an array
조회 수: 2 (최근 30일)
이전 댓글 표시
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
답변 (1개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Multidimensional Arrays에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!