Hi I am trying to plot a graph with a matrix. I have a 10 by 10 diagonal matrix and I am trying to plot a 3d graph. Its base should be a flat square grid and the values on diagonal elements should be projected upwards. like a flat plane and a diagonal wall with pointy top in middle, kind of like a sail. just like this top fin but diagonally. Could someone help me with the code? In my matrix, all diagonal elements are around 50000 and all other values are 0.

2 comentarios

KSSV
KSSV el 24 de Nov. de 2020
Editada: KSSV el 24 de Nov. de 2020
Why did you chose MATLAB for this? Does your data look like the attched pciture when you plot?
Jithin D Mathew
Jithin D Mathew el 24 de Nov. de 2020
I want the plot to look like the fin of this fish on a flat grid. The diagonal values are large and should stand upwards like the fin of the fish.

Iniciar sesión para comentar.

Respuestas (0)

Productos

Versión

R2020a

Preguntada:

el 24 de Nov. de 2020

Comentada:

el 24 de Nov. de 2020

Community Treasure Hunt

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

Start Hunting!

Translated by