a little experience in matlab (For beginner)

zhaozj2021-02-12  127

Transfer from: Research Forum → Simulation and Calculation Software → Matlab / Maple / Mathematica Matlab Learning Experience (for the sender written in the past: Genial (Mountain Coats ", the letter: Mathtools Title: Matlab Confucite (for begin) Station: Drinking Water Source (November 08, 2003, 17:18 Saturday) Simple syntax, easy to draw graphics, GUI programming is also very easy, and powerful open Toolbox. Therefore, although I have not used this application, I am still very interested. Little learning experience of personal Matlab is now listed here, and will be able to play a little more than a little more than everyone (especially beginners). 1. Help: The most effective order (see the article of the Bohai Mathtools STARRYNIGHT netizen) In fact, you can say this, if you leave Matlab software, I think I will basically nothing. What is the problem? Usually my first reaction is: Help, let me talk about some common methods for Help. 1) The command window will knock "Help" directly, you can get the basic help information of MATLAB on the local machine. 2) For some orders that are not very clear, only know the generally versus range, such as a toolbox, tapping the Help ToolboxName in the command window, and can get the information about this toolbox: version number, function name Wait. 3) Know the function name, directly use the Help Funname to get the corresponding help information. 2. See Also: When you use the help command, you may not necessarily be completely correct because we start the estimated direction, not directly given things we are looking for, but we must not Ignore the last list of SEE ALSOs listed in the help. For example, I have encountered a painful problem. Just started me to think that this command function should be given in Graph3D (in the way, we can see Matlab / Graph3d - Three Dimensional Graph 3D - Three Dimensional Graph 3d "when using help............ Elementary 3-D Plots. I didn't find the function of the ellipsoid, but I found that there is specgraph in See Also. Hold the attitude of try, I also help specgraph, ^ _ ^, this time I found it in Solid Modeling. Ellipsoid - Generate Ellipsoid. 3. Lookfor: Google in matlab When we don't have anything, we can help it, often receive unexpected effects. For example, once in GUI programming, encounter Such a problem: When you want to drag your mouse, you have a box, just like you drag the mouse on your desktop, you will have a dashed box. I just started to have something to find, and I later remembered it. So, >> Lookfor Rectangle (very embarrassed, I was in -_-) in Jinshan Words.

Sure enough, I found such a message: getRect Select Rectangle with mouse. ^ _ ^ 4. Get, set: Gui Object Property Handle In GUI programming, we may sometimes want to change some Object's properties, or want to let It installs your own ideas, but we don't remember these object's properties, let alone how to set their values. At this time, all of this object can be obtained with GET (Handles) and its current values. Use Set (Handles) to get all the properties that can be set and the possible values ​​thereof can be obtained. After finding the name of the attribute we need and the possible reference, it means that the value of this property is set with GET (Handles, 'PropertyName'), set the value of this object with set (Handles, 'PropertyName', VALUES). 5. Edit: View the Assistant of the M source file In the application MATLAB process, maybe we want to see its M source file, of course, you can use Editor to open it, but I often use the Edit Funname directly in the Command window. m, save the trouble of positioning. 6. Other common commands: Which, what and other Which: Location specified functions and files, preferably with parameter -all to display more information What: Get the MAT file, MEX file, and MAT file name list 7 The MathTools version of each university is impossible to understand, but always remember such a sentence: Two Heads Are Better Than One. Ask others, discuss each other, this is not just to solve the problem of matlab. My most often goes BBS:. 海星云 (http://fbbs.ustc.edu.cn/ Mathtools version. Shuimu Tsinghua (http://www.smth.edu.cn/ver2.html Mathtools version. Drinking water (http://bbs.sjtu.edu.cn/ Mathtools version. Lilac (http://bbs.hit.edu.cn/ MATLAB version 8. Some professional sites I know: 1) http : //www.mathworks.com MathWorks Official Website 2) http://www.mathtools.net/matlab/index.html There are a lot of good toolboxes or small auxiliary functions to download, but foreign, e Wen and the network feel that it is very uncomfortable. 3) http://matlab.myrice.com/ Matlab Grand View Garden Professor Xue Dingyu has been engaged in MATLAB language and its application research. 4) http://passmatlab.myetang.com/matlab/index.htm Wenyu Studio 5) http://sh.netsh.com/bbs/5186/ MATLAB language and application, Schrödinger's forum 6) http://www.matwav.com/resource/newlk.asp China Academic Exchange Park, in addition to Matla B, there are many other professional articles.

The last one, I have to try, even if there is only one bit. For example, earlier, there is a friend asked me: What order I can use to find the meaning of the properties of the established network, such as: I build network net = newff (MinMax (P), [3, 1], {'Tansig' , 'purelin'}, 'trakingda'); I want to see Net.Trainparam. What is the meaning of the lr_inc attribute? At that time, I didn't even practice things in Matlab's neural network toolbox. I didn't have a result. Later, there is no way, trying the Help parameter value TraingDa, I didn't expect to find the answer. Also, there have been friends to change the red color of Waitbar's default color. I used HELP and I could change its fill color Property. Later I saw Waitbar.m, I found that it fill color does not try a variable parameter. But since it is found, you can change it yourself, which is benefited from the openness of MATLAB. This also provides us with great flexibility (on the basis of him, we can do very few transformations, writing a fill color can change in the attribute input Waitbar) Finally, Matlab is just a good Application tools, is not like developing tools such as VC, Delphi, VB, and is also applied to the verification, simulation of algorithm, etc. We should know as much as possible, and then familiarize with this major. (Unfortunately, I have not had such practical applications now) - Welcome to Zhongke's model: http://mcm.ustc.edu.cn/forum/ Welcome to the Mathtools version of BBS for the MTTOOLS: http: // Bbs.sjtu.edu.cn/ I wish you all a good job and wish you all the best. ▍ ★ ∴ "" "" "" "" "" "" "" "" ""

I also posted the most often the forum: 1. Of course it is here; 2. Research Forum http://www.matwav.com/matwav/list.asp?boardid=12 has some good posts recently; 3. MATLAB center: http://newsreader.mathworks.com/webx?14@120.1oazalrvdxa.0@/comp.soft-sys.matlab, there are many unexpected things; 4. Dynamics Control Forum: http: //www.dytrol.com/list.asp?boardid=11, moderator is very hard; 5. Matlab language and application: http://sh.netsh.com/bbs/5186/, the only disadvantage is that the forum style is not Easy to review historical posts; 6. Hengrun Technology Forum: http://www.hirain.com/forum/list.asp?boardid=4.

"" "" "" "" "" "" "" "" "

Thanks to the CWIT support, in column two: fangq: http://bbs.dartmouth.edu/~fangq/math/mindex.htm eng-tips: http://www.eng-tips.com/

转载请注明原文地址:https://www.9cbs.com/read-7190.html

New Post(0)