Where is the mistake of the ^? i can plot the graph without the ^ but it say i have mistake after adding the ^ or .^
3 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Kai Wing YU
il 16 Nov 2021
Risposto: Awais Saeed
il 16 Nov 2021
x_array = -5:5;
y_array1 = sin(x_array.^2).*exp^(cos(x_array));
plot(x_array, y_array1)
0 Commenti
Risposta accettata
Awais Saeed
il 16 Nov 2021
exp^(cos) is incorrect. Use
y_array1 = sin(x_array.^2).* exp(cos(x_array));
0 Commenti
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Directed Graphs in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!