Well, that's the point. As you know adding a % character in the beginning of line in MATLAB, will make that entire line as a comment and will be ignored for interpretation purpose. How above sample code is suppose to define me a function where the function definition line is already commented...
No I am not. I thought Matlab deals with the concept the same. Was I wrong?
An equation definition in command window should be as valid as the same equation annotation in *.m file. (perhaps o_O)
Hi,
Has anyone tried to paste equations from MathType into Matlab ? I follow every step described here
No matter what equation I paste, I get following error in Matlab:
|
Error: The input character is not valid in MATLAB statements or expressions.
Homework Statement
In a course I am studying, I have been asked to calculate the distributed parameters of a line whose Pi model has been provided. I simply quote the question here for clarity of my question:
Homework Equations
C = \frac{{2\pi \varepsilon }}{{\ln \frac{b}{a}}}
R =...