You are now following this question
 You will see updates in your followed content feed.
 You may receive emails, depending on your communication preferences.
error in computing log values
 Domain error. To compute complex results from real x, use 'log(complex(x))'.
 Error in log.m (line 14) coder.internal.error('Coder:toolbox:ElFunDomainError',mfilename); Error in 'ExitMoles/OutletEnthalpy' (line 20)
11 Comments
Direct link to this comment
https://in.mathworks.com/matlabcentral/answers/1601035errorincomputinglogvalues#comment_1864090

Link
Direct link to this comment
https://in.mathworks.com/matlabcentral/answers/1601035errorincomputinglogvalues#comment_1864090
Direct link to this comment
https://in.mathworks.com/matlabcentral/answers/1601035errorincomputinglogvalues#comment_1864105

Link
Direct link to this comment
https://in.mathworks.com/matlabcentral/answers/1601035errorincomputinglogvalues#comment_1864105
Direct link to this comment
https://in.mathworks.com/matlabcentral/answers/1601035errorincomputinglogvalues#comment_1864185

Link
Direct link to this comment
https://in.mathworks.com/matlabcentral/answers/1601035errorincomputinglogvalues#comment_1864185
Direct link to this comment
https://in.mathworks.com/matlabcentral/answers/1601035errorincomputinglogvalues#comment_1864190

Link
Direct link to this comment
https://in.mathworks.com/matlabcentral/answers/1601035errorincomputinglogvalues#comment_1864190
 Domain error. To compute complex results from real x, use 'log(complex(x))'.
 Error in log.m (line 14) coder.internal.error('Coder:toolbox:ElFunDomainError',mfilename); Error in 'ExitMoles/OutletEnthalpy' (line 20)
Direct link to this comment
https://in.mathworks.com/matlabcentral/answers/1601035errorincomputinglogvalues#comment_1864200

Link
Direct link to this comment
https://in.mathworks.com/matlabcentral/answers/1601035errorincomputinglogvalues#comment_1864200
Direct link to this comment
https://in.mathworks.com/matlabcentral/answers/1601035errorincomputinglogvalues#comment_1864220

Link
Direct link to this comment
https://in.mathworks.com/matlabcentral/answers/1601035errorincomputinglogvalues#comment_1864220
Direct link to this comment
https://in.mathworks.com/matlabcentral/answers/1601035errorincomputinglogvalues#comment_1864235

Link
Direct link to this comment
https://in.mathworks.com/matlabcentral/answers/1601035errorincomputinglogvalues#comment_1864235
Direct link to this comment
https://in.mathworks.com/matlabcentral/answers/1601035errorincomputinglogvalues#comment_1864240

Link
Direct link to this comment
https://in.mathworks.com/matlabcentral/answers/1601035errorincomputinglogvalues#comment_1864240
Direct link to this comment
https://in.mathworks.com/matlabcentral/answers/1601035errorincomputinglogvalues#comment_1864250

Link
Direct link to this comment
https://in.mathworks.com/matlabcentral/answers/1601035errorincomputinglogvalues#comment_1864250
Direct link to this comment
https://in.mathworks.com/matlabcentral/answers/1601035errorincomputinglogvalues#comment_1864255

Link
Direct link to this comment
https://in.mathworks.com/matlabcentral/answers/1601035errorincomputinglogvalues#comment_1864255
Direct link to this comment
https://in.mathworks.com/matlabcentral/answers/1601035errorincomputinglogvalues#comment_1864305

Link
Direct link to this comment
https://in.mathworks.com/matlabcentral/answers/1601035errorincomputinglogvalues#comment_1864305
Answers (1)
13 Comments
Direct link to this comment
https://in.mathworks.com/matlabcentral/answers/1601035errorincomputinglogvalues#comment_1864820

Link
Direct link to this comment
https://in.mathworks.com/matlabcentral/answers/1601035errorincomputinglogvalues#comment_1864820
Direct link to this comment
https://in.mathworks.com/matlabcentral/answers/1601035errorincomputinglogvalues#comment_1864925

Link
Direct link to this comment
https://in.mathworks.com/matlabcentral/answers/1601035errorincomputinglogvalues#comment_1864925
Direct link to this comment
https://in.mathworks.com/matlabcentral/answers/1601035errorincomputinglogvalues#comment_1865025

Link
Direct link to this comment
https://in.mathworks.com/matlabcentral/answers/1601035errorincomputinglogvalues#comment_1865025
Direct link to this comment
https://in.mathworks.com/matlabcentral/answers/1601035errorincomputinglogvalues#comment_1865030

Link
Direct link to this comment
https://in.mathworks.com/matlabcentral/answers/1601035errorincomputinglogvalues#comment_1865030
Direct link to this comment
https://in.mathworks.com/matlabcentral/answers/1601035errorincomputinglogvalues#comment_1865180

Link
Direct link to this comment
https://in.mathworks.com/matlabcentral/answers/1601035errorincomputinglogvalues#comment_1865180
Direct link to this comment
https://in.mathworks.com/matlabcentral/answers/1601035errorincomputinglogvalues#comment_1865235

Link
Direct link to this comment
https://in.mathworks.com/matlabcentral/answers/1601035errorincomputinglogvalues#comment_1865235
Direct link to this comment
https://in.mathworks.com/matlabcentral/answers/1601035errorincomputinglogvalues#comment_1866250

Link
Direct link to this comment
https://in.mathworks.com/matlabcentral/answers/1601035errorincomputinglogvalues#comment_1866250
Direct link to this comment
https://in.mathworks.com/matlabcentral/answers/1601035errorincomputinglogvalues#comment_1869335

Link
Direct link to this comment
https://in.mathworks.com/matlabcentral/answers/1601035errorincomputinglogvalues#comment_1869335
Direct link to this comment
https://in.mathworks.com/matlabcentral/answers/1601035errorincomputinglogvalues#comment_1870485

Link
Direct link to this comment
https://in.mathworks.com/matlabcentral/answers/1601035errorincomputinglogvalues#comment_1870485
Direct link to this comment
https://in.mathworks.com/matlabcentral/answers/1601035errorincomputinglogvalues#comment_1870950

Link
Direct link to this comment
https://in.mathworks.com/matlabcentral/answers/1601035errorincomputinglogvalues#comment_1870950
Direct link to this comment
https://in.mathworks.com/matlabcentral/answers/1601035errorincomputinglogvalues#comment_1871215

Link
Direct link to this comment
https://in.mathworks.com/matlabcentral/answers/1601035errorincomputinglogvalues#comment_1871215
Direct link to this comment
https://in.mathworks.com/matlabcentral/answers/1601035errorincomputinglogvalues#comment_1871240

Link
Direct link to this comment
https://in.mathworks.com/matlabcentral/answers/1601035errorincomputinglogvalues#comment_1871240
Direct link to this comment
https://in.mathworks.com/matlabcentral/answers/1601035errorincomputinglogvalues#comment_1871325

Link
Direct link to this comment
https://in.mathworks.com/matlabcentral/answers/1601035errorincomputinglogvalues#comment_1871325
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!An Error Occurred
Unable to complete the action because of changes made to the page. Reload the page to see its updated state.
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
 América Latina (Español)
 Canada (English)
 United States (English)
Europe
 Belgium (English)
 Denmark (English)
 Deutschland (Deutsch)
 España (Español)
 Finland (English)
 France (Français)
 Ireland (English)
 Italia (Italiano)
 Luxembourg (English)
 Netherlands (English)
 Norway (English)
 Österreich (Deutsch)
 Portugal (English)
 Sweden (English)
 Switzerland
 United Kingdom (English)
Asia Pacific
 Australia (English)
 India (English)
 New Zealand (English)
 中国
 日本Japanese (日本語)
 한국Korean (한국어)