Category: Matlab

Matlab : Create Random Data in Range

We can create random data in Matlab with command : rand (Uniformly distributed pseudorandom numbers) randn (Normally distributed random numbers) unifrnd (Continuous uniform random numbers) random (Random numbers) If we want to create random data in range, we can use unifrnd function. Example : unifrnd (1 , 10 , [5,1]) This command will create random

Create C/C++ shared library with MATLAB Compiler

MATLABĀ® is a high-level language and interactive environment that enables you to perform computationally intensive tasks faster than with traditional programming languages such as C, C++, and Fortran (http://www.mathworks.com/products/matlab/). Matlab have a complete function to solve mathematic problem. We can call function code from matlab in other language (ex. C/C++). Before we create code in