How to plot function of matrix in MATLAB?

2 views (last 30 days)
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'?

Accepted Answer

madhan ravi
madhan ravi on 15 Sep 2020
Works, if Z is a matrix.

More Answers (0)

Categories

Find more on 2-D and 3-D Plots in Help Center and File Exchange

Tags

Products

Community Treasure Hunt

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

Start Hunting!