Forming a series equation

8 vues (au cours des 30 derniers jours)
Abdullahi Abubakar
Abdullahi Abubakar le 21 Avr 2021
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 commentaires
Scott MacKenzie
Scott MacKenzie le 21 Avr 2021
What is Y?
Abdullahi Abubakar
Abdullahi Abubakar le 21 Avr 2021
'Y' is 1 to 100. (i.e 1:1:100)
sorry for the mistake

Connectez-vous pour commenter.

Réponse acceptée

David Hill
David Hill le 21 Avr 2021
y=1:100;
x=100-10/3*y(2:end);
  1 commentaire
Abdullahi Abubakar
Abdullahi Abubakar le 21 Avr 2021
Thanks

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur 2-D and 3-D Plots dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by