Community Profile

photo

Chidera Agu


California State Polytechnic University Pomona

Aktiv seit 2019

Followers: 0   Following: 0

Kontakt

Statistiken

  • Thankful Level 1

Abzeichen anzeigen

Feeds

Anzeigen nach

Frage


When trying to plot my differentials I'm getting an error that says 'problem 4 data must return a column vector'
%initial conditions X0=[0, 0, 325, 1]; Wspan=[0 1000]; [W,X]=ode45(@problem4data,Wspan,X0); figure(1); plot(W,X0(:,1),W,X0(...

fast 5 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


Why am i getting "Unable to perform assignment because the indices on the left side are not compatible with the size of the right side"
function ydot=problem4data(W,X) fa0=5; %mol/s fb0=2*fa0;%mol/s fi=2*fa0; %mol/s ca0=2; %mol/dm^3 T1=325; %K Ta=300; %K T2...

fast 5 Jahre vor | 1 Antwort | 0

1

Antwort