Keep getting Matrix dimensions must agree warning
2 views (last 30 days)
I am attempting to plot the Gas Turbine efficiency as a function of the temperature ratio:
When attempting to plot i get the following error:
Error in ==> test at 5
??? Error using ==> mrdivide
Matrix dimensions must agree.
Any help would be appreciated, thanks in advance.
Star Strider on 5 Nov 2015
I do not know what you intend with this assignment:
since it creates this logical array:
1 1 0 0 0 0 0 0 0 0
Which is likely not what you want, because it creates with this assignment:
this result for ‘n’:
0 0 -Inf -Inf -Inf -Inf -Inf -Inf -Inf -Inf