Question: I keep getting the same error in MATLAB: Arrays have incompatible sizes for this operation. For the script below, specifically the equations FissE and SepE.
I keep getting the same error in MATLAB: "Arrays have incompatible sizes for this operation." For the script below, specifically the equations FissE and SepE. As far as I can tell, there is no incompatibility in "array" size. What is going wrong?
prompts Enter Reactant neutron mass in amu:; 'Enter Reactant mass in amu:; 'Enter Product mass in amu:; 'Enter Product mass in amu:; 'Enter Product mass in amu:; 'Enter original isotopic mass for separation calculation in amu:; 'Enter A isotopic mass for separation calculation in amu:;
defaultValues ;
inputValues inputdlgprompts 'Input', defaultValues;
R inputValues;
R inputValues;
P inputValues;
P inputValues;
P inputValues;
SER inputValues;
SER inputValues;
FissE RRPPP;
SepE SERSER;
dispCalculated energy from fission event in MeV:
dispFissE
dispCalculated separation energy in MeV:
dispSepE
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
