Plot 3D of a function
Mostra commenti meno recenti
Hello is there a short cut to plot a 3d function for example i have a linspace(0,pi) of x and linspace(0,1) of t and the a function @(x,t)=f(x,t). The way i have plotted is having x and t and loop for which calculates the values of x and t evaluated in the function:
In the image above i have created a vectors x1 and t1 of lenght=300 and evaluate them in the funcion
and store them in the matrix z1. I have tried this:

But i dont think is the best way cause it takes a lot. Any suggestion.
1 Commento
JORGE ORDOÑEZ CARRASCO
il 19 Feb 2021
Risposta accettata
Più risposte (0)
Categorie
Scopri di più su Graphics Performance in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!