Clear Filters
Clear Filters

How to plot parametric equations by using "for loop"

1 view (last 30 days)
Wajahat
Wajahat on 18 May 2017
Edited: KSSV on 19 May 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 Comments
Wajahat
Wajahat on 19 May 2017
KSSV, why we replace i with 1i, and preallocate q1. what is the reason behind it?
KSSV
KSSV on 19 May 2017
Edited: KSSV on 19 May 2017
You should be knowing that matlab is showing red line under them, it is to improve the speed.

Sign in to comment.

Answers (0)

Categories

Find more on Mathematics in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!