There are many resources available to learn MATLAB, it includes from official MathWorks documentation to online courses and tutorials. Using correct terminology makes information clearer, and makes the information transferable because it matches what the MATLAB documentation actually uses, and what other MATLAB users write. ![]() terms like "fed" have no meaning in MATLAB (or in any programming language that does not use punch cards (perhaps it does in Chef ?)). ![]() The imprecise, colloquial language should be revised, e.g.The formatting is rather haphazard: using bullet-points is not synonymous with creating a clear document format. Some thought needs to go into the choice of typeface and the overly bold text.why introduce beginners to bad practices when you are still on chapter 1.6? The next chapter is titled "Global and Local Variables", so apparently the bad advice will continue.Clearly the author has not spent much time bothering to learn what common mistakes beginners make, and how to avoid them. This is much more useful than iskeyword, which you go on about in some detail, yet would really help beginners to avoid basic bugs that we keep getting asked about on this forum. 1.6.2: You omit the very important advice to use which before using new variable names.1.6.2: "Names should not start with a number" is incorrect: variable and function names cannot start with a number.1.6.1: "Complex numbers have real and imaginary parts, which are stored separately." is very ambiguous: what does that mean? Is a beginner supposed to know what that means in practice?.Why do you invent your own confusing terminology which is unrelated to what the rest of the world uses? What is a "symbol" anyway? You don't define this, nor is this term used in the MATLAB documentation for variable names, and it is not a term I have ever seem used when discussing character sets (except for the specific subset of some character sets that might be called "symbols").I have never seen anyone refer to variable or function names as "strings": have you? This is highly misleading: strings are a data class in MATLAB, and are not related to the names of variables. 1.6 Variables: ".we use variables that store the values at a particular memory location and address it with a symbol or set of symbols (called strings).".using the command clc, which clears the screen" : clc clears the command window. You should revise what physical constants are (e.g. " is incorrect: neither pi nor e are physical constants, and e is not defined in MATLAB (only exp is). 1.4.3 "A number of physical constants are defined: pi, e.If line numbering is required then format it so that it is clearly not part of the code (e.g. Get rid of the line numbering: it does not aid clarity, and does not reflect what users actually see in MATLAB.In fact this statement should be revised anyway: it would be more accurate to say the "the format is set to short " or similar, following the nomenclature used in the MATLAB documentation. ![]() 1.4.2 "By default, MATLAB works with the format short command", but this would be clearer with monospaced text: "By default, MATLAB uses the format short command", or placing the code on its own lines. It would help a lot format the text better, for example to use monospaced text to indicate code.1.4.1: "When input is fed into the MATLAB command prompt, the Julia language." What does Julia have to do with MATLAB? What does "fed" mean: does MATLAB require a sandwich for lunch?.It needs a good editor and to be reviewed by experienced MATLAB users, as it contains mistakes and is missing a lot of useful advice. Nagar: I reviewed the free preview of your MATLAB book Introduction to MATLAB for Engineers and Scientists.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |