How to plot function of matrix in MATLAB?

2 visualizzazioni (ultimi 30 giorni)
I have
x=1:5
y=1:5
It seems that surf can plot Z=x+y, but not Z=x+y' .
How to plot Z=x+y'?

Risposta accettata

madhan ravi
madhan ravi il 15 Set 2020
Works, if Z is a matrix.

Più risposte (0)

Categorie

Scopri di più su 2-D and 3-D Plots in Help Center e File Exchange

Tag

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by