MATLAB Answers

Forming a series equation

2 views (last 30 days)
X(n) = (300,000/3000) - (10,000/3000)*Y(n-1)
for n=1:1:100
Also, plot Y(n-1) by X(n)
Please can someone help me form this series from the range of 1 to 100 from the above?
Thank you
  2 Comments
Abdullahi Abubakar
Abdullahi Abubakar on 21 Apr 2021
'Y' is 1 to 100. (i.e 1:1:100)
sorry for the mistake

Sign in to comment.

Accepted Answer

David Hill
David Hill on 21 Apr 2021
y=1:100;
x=100-10/3*y(2:end);

More Answers (0)

Community Treasure Hunt

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

Start Hunting!

Translated by