- Define x1 and x2 using linspace.
- Make x1, x2 matrices, using meshgrid.
- Make your caclulation. You need to use element by element operations. So you have to use .^ to get power.
- USe surf, pcolor to plot.
how can i call and plot function of two variables ?
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
For this equation:
i want to write it as a function
and then call and plot it in another file
0 Kommentare
Akzeptierte Antwort
KSSV
am 16 Sep. 2020
This is your HomeWork. You have to do it yourself.
0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu 2-D and 3-D Plots finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!