how to make a variable to be increasing and decreasing by a specified percentage over sections
Mostra commenti meno recenti
I need syntax to make z to be increasing and decreasing by 2% over 20 sections as inputs and display 20 outputs as shown below :
f = 100;
z = 200 ;% how to make it to be increasing and decreasing by 2 % over 20 sections
b = 2; c = 4;
Y = f*b*c*z;
disp(Y);
Risposte (1)
Categorie
Scopri di più su Coding Standards and Code Metrics in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!