HCBBS Forum (English)
Submit Chemical Projects / Find Solutions
Amplify Your Requirements on a Broader Chemical Platform *Engineering · Technology · Equipment · Solutions*
Submit Request

What’s the problem with the MATLAB program?

2010-03-23View Original

Thread Content

??? Error using ==> mrdivide: Matrix dimensions must agree. Error in ==> NonIsothermTR>Equations at line 81: dx1dz = rhoB*r1*30.66 /(yA0*G); Error in ==> odearguments at line 111: f0 = feval(ode,t0,y0,args{:}); % ODE15I sets args{1} to yp0. Error in ==> ode45 at line 173: = ode45(@Equations, , ); This error message appears when running a MATLAB program to solve a system of differential equations; it seems to be related to inconsistent array dimensions. No arrays have been defined yet – can someone help identify what the problem is?
Reply #22010-03-23
The mrdivide function was used incorrectly; the dimensions of the matrices do not match during the calculation
Reply #32010-03-23
I don’t have this function in my M file. Is it an internal function generated when calling ODE45? I’m not very familiar with Matlab either; I modified existing programs to carry out numerical simulations of fixed-bed reactors. The original programs worked fine, but after I changed a few parameters, they stopped working.

Submit a Project

**Looking for Chemical Technology, Equipment & Solutions?** No Registration Required Broader Platform Exposure | Global Chemical Service Provider Connections

Submit Request — Free Consultation

Disclaimer

This is an automated machine translation of the original thread. Some technical terms may have inaccuracies; the original text shall prevail. Click "View Original" at the top right to access the source page, which supports IP-based automatic real-time language translation. Please watch out for contact details and sales inducements to prevent fraud. All content and translations are for reference only, representing solely the poster's personal views. For enquiries, email service@hcbbs.com.