How to plot function of matrix in MATLAB?

1 view (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)

Tags

Products

Community Treasure Hunt

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

Start Hunting!