how to plot this 2D function
3 次查看(过去 30 天)
显示 更早的评论
I'm trying to solve this 2D problem in matlab,
for a given matrices (2*2 dimension for example)
sigma=the maximum singular value of matrix K;
the fist axix is p and the secon axix is s where 1<p<4 and 1<s<4 and
K=[p-1 -2; -3 s-4]
how to plot the surf that represnt for each pair (p,s) the ( sigma=the maximum singular value of matrix K) like this graph ( note that this graph is for a nother example ),
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/655300/image.jpeg)
2 个评论
SALAH ALRABEEI
2021-6-16
编辑:SALAH ALRABEEI
2021-6-16
assum F is your matrix of size n×m where n and m are length of s and p.
surf(s,p,F)
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Graphics Performance 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!