photo

Bobby


Last seen: plus de 2 ans il y a Actif depuis 2021

Followers: 0   Following: 0

Statistiques

  • Thankful Level 2

Afficher les badges

Feeds

Afficher par

Question


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...

plus de 2 ans il y a | 3 réponses | 0

3

réponses

Question


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...

presque 3 ans il y a | 1 réponse | 0

1

réponse