SUBSCRIBE TO NEWS
Subscription by Email - news

Discard subscription
112

MATLAB

2012
15
Dec.
Admin
viewsViews: 2137         commentsComments: 38

MATLAB

Names of variables and functions can contain any characters except the special, but they must begin with a letter. Use a separator, when writing several operators in the same line. Comma serves as delimiter.  Delimiter can be omitted after the single or the last operator in a string.

Operators have two forms of recording:

  • the implicit assignment (expression);
  • with explicit assignment (variable = expression).

When you use the implicit assignment, the system automatically creates a variable called "ans", and assigns it a value of the result.

MATLAB programming languageCommand-line buffer length is limited by 256 characters. If you need to move the operator to the next line, you must enter a line continuation character ... (three points), press Enter key to continue the operator. The system uses two types of MATLAB arithmetic operations: on arrays and on matrices; operations on arrays are performed element by element, and on matrices - in accordance with the rules of linear algebra.

The numbers in MATLAB can be represented with a fixed and floating point, be positive or negative, fractional, real and complex.

  Features of numbers presentation in MATLAB:

  1. imaginary unit is represented by two characters "i" and "j";
  2. integral and fractional parts are separated by point;
  3. order of the number is separated from mantissa by character "e".

In the process of tasks solving, variables can take up a lot of computer memory. Function "clear" is used in MATLAB to clear the memory from the variables. This function has has such syntax:

  1. clear — elimination of "" variable;
  2. clear — elimination of all variables;
  3. clear b — elimination of the family of variables.

Constant — is the numerical value of a unique name, which has a mathematical meaning. In MATLAB are often used following constants:

  1. inf — machine infinity;
  2. arts — name of the variable, which stores the result of the calculation;
  3. pi — «number Pi»;
  4. eps — error in operations with numbers with floating point;
  5. realmin — minimal number with floating point;
  6. reaimax — maximal number with floating point;
  7. NaN — non-numeric character data (Not a Number).

Mathematical functions are represented as fun (x),
MATLABwhere fun — function name,
— argument as a: number, vector or matrix.
Numbers, elements, vectors or matrix can be real or complex.

For graphing are used special functions.

MATLAB programming languageWhen you set the style, parameter "s" (vector of constants) is represented as a vector or strings of characters. To set the title of graph, axis labels and grid lines are used such functions: title, xlabel, label, grid on.

Author:
RATE PUBLICATION
0   (votes: 0)
Comments (38)
Alain Posted
16 Decemb. 12
avatar
I like this post, enjoyed this one regards for putting up.
helicopter Posted
06 January 13
avatar
Nice job writing this up in a manner that most people can understand
Niked Posted
07 January 13
avatar
Awesome things here. I am very glad to peer your post.
Egan Posted
23 January 13
avatar
This will be the appropriate weblog for any individual who desires to find out about this topic. You comprehend so a lot its just about difficult to argue with you (not that I in fact would want?-HaHa). You undoubtedly put a brand new spin on a subject thats been written about for years. Good stuff, just outstanding!
actishhic Posted
26 January 13
avatar
You made some decent points there. I looked online for the problem and found most people will go together with together with your webpage.
Nagun Posted
09 Febr. 13
avatar
I'd need to check with you here. Which is not some thing I in most cases do! I enjoy reading a post that may make individuals think. Also, thanks for permitting me to comment!
Anastasia Posted
09 Febr. 13
avatar
An impressive share, I just given this onto a colleague who was performing just a little analysis on this. And he in actual fact purchased me breakfast for the reason that I found it for him.. smile. So let me reword that: Thnx for the treat! But yeah Thnkx for spending the time to discuss this, I feel strongly about it and love reading alot more on this topic. If attainable, as you turn into expertise, would you mind updating your blog with much more details? It truly is extremely beneficial for me. Major thumb up for this blog post!
Statracytic Posted
09 Febr. 13
avatar
It's difficult to find knowledgeable people on this subject, but you sound like you know what you are talking about! Thanks This genuinely answered my difficulty, thank you! NFL Authentic Jerseys http://jerseys205.2kool4u.net/
Merill Posted
21 Febr. 13
avatar
Youre so cool! I dont suppose Ive read anything like this prior to. So nice to obtain somebody with some original thoughts on this subject.
Don Posted
21 Febr. 13
avatar
When are you going to post again?
Art Posted
25 Febr. 13
avatar
Youre so cool! I dont suppose Ive read anything like this prior to. So nice to acquire somebody with some original thoughts on this topic. realy thank you for beginning this up. this web page is some thing that's needed on the web, an individual with a small originality. beneficial job for bringing some thing new to the world wide web!
Tico Posted
05 March 13
avatar
You'll find certainly plenty of details like that to take into consideration. That is an incredible point to bring up. I give the thoughts above as general inspiration but clearly there are questions like the 1 you bring up where probably the most essential thing will be working in honest fine faith. I don?t know if greatest practices have emerged about things like that, but I'm positive that your job is clearly identified as a fair game. Both boys and girls really feel the impact of just a moment's pleasure, for the rest of their lives.
Linda Posted
05 March 13
avatar
Terrific Post.thanks for share..much more wait ..
TitTitGeall Posted
29 March 13
avatar
You need to take part in a contest for one of the most beneficial blogs on the web. I will advise this website!
Brandon Posted
30 March 13
avatar
One can find some fascinating points in time in this article but I don't know if I see all of them center to heart. There is certainly some validity but I will take hold opinion until I look into it further. Wonderful write-up , thanks and we want even more!
Glen Posted
30 March 13
avatar
Nice post. I find out some thing extra difficult on unique blogs everyday.
Rico Posted
02 April 13
avatar
An fascinating discussion is worth comment. I feel which you should certainly write alot more on this topic, it may not be a taboo topic but typically men and women are not sufficient to speak on such topics. To the next. Cheers
Bob Posted
08 April 13
avatar
Great post.
TitTitGeall Posted
20 April 13
avatar
This definitely answered my challenge, thank you! mnd Nike free sko
TitTitGeall Posted
20 April 13
avatar
I was fairly pleased to uncover this web-site.I wanted to thanks for your time for this excellent read!! I undoubtedly enjoying just about every small bit of it and I have you bookmarked to check out new stuff you weblog post. Nike Lunar Elite 2 for women
TitTitGeall Posted
20 April 13
avatar
There are some intriguing points in time in this article but I do not know if I see all of them center to heart. There is certainly some validity but I will take hold opinion until I appear into it further. Beneficial post , thanks and we want a lot more! Added to FeedBurner at the same time Nike free sko for mnd
Juggipsyporgo Posted
25 April 13
avatar
The next time I read a blog, I hope that it doesnt disappoint me as a lot as this 1. I mean, I know it was my option to read, but I actually thought youd have some thing intriguing to say. All I hear is usually a bunch of whining about something which you could fix should you werent too busy looking for attention. michael kors hand bags
Juggipsyporgo Posted
25 April 13
avatar
An impressive share, I just given this onto a colleague who was performing a little analysis on this. And he in truth purchased me breakfast since I located it for him.. smile. So let me reword that: Thnx for the treat! But yeah Thnkx for spending the time to talk about this, I feel strongly about it and really like reading alot more on this subject. If possible, as you develop into expertise, would you mind updating your blog with a lot more details? It really is extremely helpful for me. Huge thumb up for this blog post! red bottom heels
actishhic Posted
09 May 13
avatar
I am generally to blogging and i certainly appreciate your content. The write-up has actually peaks my interest. I am going to bookmark your webpage and maintain checking for new details. michael kors handbags outlet
actishhic Posted
09 May 13
avatar
This internet site is definitely a walk-through for all of the info you wanted about this and didn't know who to ask. Glimpse here, and you will surely discover it. michaels kors bags
actishhic Posted
09 May 13
avatar
When I originally commented I clicked the -Notify me when new comments are added- checkbox and now each time a comment is added I get 4 emails using the same comment. Is there any way you are able to remove me from that service? Thanks! michael kors online
nagunindink Posted
16 May 13
avatar
incredibly nice post, i surely really like this web site, maintain on it shoes with red soles
nagunindink Posted
16 May 13
avatar
you have an excellent weblog here! would you like to create some invite posts on my blog? shoes with red soles
actishhic Posted
16 May 13
avatar
you might have an awesome blog here! would you like to create some invite posts on my blog? michael kors on sale
actishhic Posted
16 May 13
avatar
quite nice post, i certainly really like this web page, maintain on it mk bag
actishhic Posted
16 May 13
avatar
Can I just say what a relief to discover a person who actually knows what theyre talking about on the web. You certainly know how you can bring an issue to light and make it essential. More men and women have to read this and realize this side of the story. I cant believe youre not alot more well-known because you certainly have the gift. michael kors handbags outlet online
pypeFolillVep Posted
17 May 13
avatar
This web web-site is seriously a walk-through for all of the info you wanted about this and didn't know who to ask. Glimpse here, and you will definitely discover it. red bottom shoes
pypeFolillVep Posted
20 May 13
avatar
Hello! I just would like to give an enormous thumbs up for the terrific info you have here on this post. I will likely be coming back to your weblog for a lot more soon. new era caps
pypeFolillVep Posted
20 May 13
avatar
I am regularly to blogging and i actually appreciate your content. The write-up has genuinely peaks my interest. I'm going to bookmark your site and maintain checking for new information and facts. new era hats
pypeFolillVep Posted
20 May 13
avatar
There is certainly noticeably a bundle to know about this. I assume you made specific nice points in functions also. cheap hats
actishhic Posted
20 May 13
avatar
fairly nice post, i surely really like this internet site, keep on it snapback hats
actishhic Posted
20 May 13
avatar
This is the appropriate blog for everyone who desires to learn about this subject. You realize so much its almost challenging to argue with you (not that I essentially would want?-HaHa). You certainly put a new spin on a topic thats been written about for years. Awesome stuff, just outstanding! new era hats
actishhic Posted
20 May 13
avatar
When I originally commented I clicked the -Notify me when new comments are added- checkbox and now each and every time a comment is added I get four emails with the identical comment. Is there any way you can actually take away me from that service? Thanks! new era hats

To add comment, please, authorize.
Authorize using Yandex Google Mail.ru Twitter