how to plot this 2D function

1 visualización (últimos 30 días)
Lewis Fer
Lewis Fer el 16 de Jun. de 2021
Comentada: Lewis Fer el 16 de Jun. de 2021
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 ),
  2 comentarios
SALAH ALRABEEI
SALAH ALRABEEI el 16 de Jun. de 2021
Editada: SALAH ALRABEEI el 16 de Jun. de 2021
assum F is your matrix of size n×m where n and m are length of s and p.
surf(s,p,F)
Lewis Fer
Lewis Fer el 16 de Jun. de 2021
and how to compute thes igma=the maximum singular value of matrix K with the plot ?

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre MATLAB en Help Center y File Exchange.

Productos


Versión

R2015b

Community Treasure Hunt

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

Start Hunting!

Translated by