Filter löschen
Filter löschen

How to plot parametric equations by using "for loop"

1 Ansicht (letzte 30 Tage)
Wajahat
Wajahat am 18 Mai 2017
Bearbeitet: KSSV am 19 Mai 2017
If we have,
t= linspace (-30,-1.6);
X= ((3*t)./(1+t.^3);
Y= ((3*t.^2)./(1+t.^3));
plot(X,Y);
How we plot X and Y by using for loop?
  18 Kommentare
Wajahat
Wajahat am 19 Mai 2017
KSSV, why we replace i with 1i, and preallocate q1. what is the reason behind it?
KSSV
KSSV am 19 Mai 2017
Bearbeitet: KSSV am 19 Mai 2017
You should be knowing that matlab is showing red line under them, it is to improve the speed.

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Mathematics finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by