how to make a variable as equal input over 30 sections

f = 100;
z = 0.5 ;% how to make it as equal inputs over 30 sections
b = 2; c = 4;
Y = f*b*c*z;
disp(Y);

 Akzeptierte Antwort

Azzi Abdelmalek
Azzi Abdelmalek am 21 Apr. 2014
f = 100;
z = 0.5*ones(1,30)
b = 2;
c = 4;
Y = f*b*c*z;
disp(Y);

Weitere Antworten (1)

Kategorien

Mehr zu Numerical Integration and Differential Equations finden Sie in Hilfe-Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by