필터 지우기
필터 지우기

how to make a variable as equal input over 30 sections

조회 수: 2 (최근 30일)
segun
segun 2014년 4월 21일
답변: Azzi Abdelmalek 2014년 4월 21일
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);

채택된 답변

Azzi Abdelmalek
Azzi Abdelmalek 2014년 4월 21일
f = 100;
z = 0.5*ones(1,30)
b = 2;
c = 4;
Y = f*b*c*z;
disp(Y);

추가 답변 (1개)

Mischa Kim
Mischa Kim 2014년 4월 21일
Segun, do you mean
z = linspace(0,0.5,30)

카테고리

Help CenterFile Exchange에서 Get Started with MATLAB에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by