photo

Joseph


Last seen: 8 days ago Active since 2024

Followers: 0   Following: 0

Statistics

  • Explorer
  • Thankful Level 2

View badges

Feeds

View by

Question


MXarray Problem Found an Mxarray
UpsilonT=zeros(n_u*Np,n_y*Np); Gamma=zeros(n_y*Np,n); H = zeros(6,6); W_inv = zeros(6,6); lSTE = zeros(6,3); % %%%%%%%%%%%%%%%%...

3 months ago | 1 answer | 0

1

answer

Question


Suscripted Assignment in to Mxarray is not supported for code generation
Gamma=zeros(n_y*Np,n); cont=1; for k=1:n_y:n_y*Np row_i=k; row_f=k+n_y-1; Gamma(row_i:row_f,:)=C*A^(cont)...

3 months ago | 1 answer | 0

1

answer

Question


If I have an array and I need to find an element in the array how do I go about it?
say states, states = [1 0 0; 1 1 0 0 1 0 0 1 1 0 0 1 ...

6 months ago | 3 answers | 0

3

answers

Question


Error: The "A" matrix must be a numeric array with no Inf's or NaN's.
coder.extrinsic("testcon2dis") I_2 = eye(2); O_2 = zeros(2); Ac_xy = [O_2 -(1/Lfilter)*I_2 O_2; (1/Cfilter)*I_2 O_2 -(1/Cfilt...

7 months ago | 1 answer | 0

1

answer

Question


Could not determine the size of this expression
n_y = 2; Np = 7; %% Output sequences Yref=zeros(n_y*Np,1); %Yref(1:2,1)=[Rr*real(Vo_xy_ref),Rr*imag(Vo_xy_ref)] ; % Const...

7 months ago | 1 answer | 0

1

answer

Question


I am getting an error on the last line saying Input and target has different samples, Any suggestions?
load pumpFeatures.mat t = table2array(T(:,1:84)); Y = table2array(T(:,85)); % features (X) are stored in the first 84 colum...

9 months ago | 1 answer | 0

1

answer