Filter löschen
Filter löschen

how to make a variable as equal input over 30 sections

2 Ansichten (letzte 30 Tage)
segun
segun am 21 Apr. 2014
Beantwortet: Azzi Abdelmalek am 21 Apr. 2014
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)

Mischa Kim
Mischa Kim am 21 Apr. 2014
Segun, do you mean
z = linspace(0,0.5,30)

Kategorien

Mehr zu Get Started with MATLAB finden Sie in Help 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