Tag: matlab commands

Calculation Of Harmonic Mean In MatLab Easily
Just like arithmetic mean and geometric mean, harmonic mean is also an important aspect of calculus, data analysis and other different disciplines. Harmonic mean has a formulation like this; As you see, calculation of harmonic means of lots of datas can be torublesome by hand. You can do this kind of thing in MatLab with…

Geometric Mean Calculation In MatLab
Geometric mean is a very important tool in such disciplines like Calculus, Data Analysis and others. It has the formula; Calculation of geometric mean by hand can be troublesome. But calculation of geometric mean of set of data in Matlab is very easy with ‘geomean()’ command. Do not mix the geometric mean with arithmetic mean,…

Factorial Calculation In MatLab
Factorials are very important aspect of calculus. And engineers are generally calculates calculus problems in Matlab. You can calculate the factorials of various kinds of vectors and matrices in Matlab easily with ‘factorial()’ command in Matlab. In here, we explain how to calculate the factorials in Matlab with ‘factorial()’ command. How To Use ‘factorial()’ Command…

Cumulative Multiplication Of Vectors And Matrices In MatLab
Like cumulative summation, you can also make your cumulative multiplications of matrices and vectors in Matlab. Cumulative multiplication is also very important method to evaluate datas or statistics. You make your cumulative multiplications with ‘cumprod()’ command in Matlab. Cumulative multiplications is the multiplications of numbers or elements sets, up to a specified element. In here,…

Multiplication With prod() Command In MatLab
We explained how to calculate factorials with ‘factorial()’ command in Matlab. But with ‘factorial()’ command, you can only calculate factorials. You could not calculate the multiplacations includes regular numbers in fixed intervals. You can do this kind of thing with ‘prod()’ command in MatLab. In here, we explain how to use this command to calculate…

Summation Of All Elements Of Matrices And Vectors In MatLab
In some cases, you need to index the summation of elements in a matrix or vector in Matlab to use them in further calculations. This process is very easy in Matlan that you can use ‘sum()’ command in that way. In here, we explain how to calculate summation of all elements of matrices and vectors…

Drawing Curves Of Funtions And Polynomials In MatLab Very Easily
There are lots of kinds of graph and curve plotting commands in Matlab. But drawing graphs of functions polynomials that has variables effectively in Matlab also avaliable. For it, use ‘fplot()’ command in Matlab. In here, we explain how to use ‘fplot()’ command to draw curves of functions and polynomials in Matlab. How To Use…

Finding Minimum Value Of A Function In An Interval In MatLab
Finding a minimum value of a function is a very specific topic in Calculus actually. But it requires handful of calculations, which makes this process is tough for long engineering calculations. You can also make this business in Matlab very easily with ‘fminbnd()’ command. In here, we will show you how to find minimum value…

Creating Functions And Using Them Effectively In MatLab
If you are working for a very specific task, for examle in a very special branch of mechanical engineering, creating functions for your profession can be very useful, when you are making calculations or specific programs by using Matlab. Functions are codes that you create only for once, you can use them everytime when you…

Clear Command Window in Matlab – Basic Explanation
How to clear the command window and the workspace in Matlab easily? Which code clears the Matlab command window?

Generating Random Matrices in Matlab
How to generate random matrices and arrays in Matlab? You can do it with the rand() command. Click to see how to do it.