Community Profile

photo

Bobby


Last seen: 거의 2년 전 2021년부터 활동

Followers: 0   Following: 0

통계

  • Thankful Level 2

배지 보기

Feeds

보기 기준

질문


getting an error in this code
clc clear %shipcostpmf.m sx = (1:8); px = [0.15*ones(4,1), 0.1*ones(4,1)]; gx = (sx<=5).*(105*sx-5*(sx.^2)) + ((sx>5...

거의 2년 전 | 답변 수: 3 | 0

3

답변

질문


I'm not sure how to fix this error Warning: Integer operands are required for colon operator when used as index. > In demo (line 147)
%convolution y1 = conv(x,h1)*Ts; %multiply by interval Ts to get integral Nsamps = length(y1); %Nsamp...

2년 초과 전 | 답변 수: 1 | 0

1

답변