-
Recent Posts
Recent Comments
Archives
- March 2020
- May 2019
- December 2018
- June 2018
- December 2017
- October 2017
- July 2017
- June 2017
- May 2017
- March 2017
- February 2017
- January 2017
- August 2016
- July 2016
- May 2016
- April 2016
- March 2016
- February 2016
- December 2015
- November 2015
- September 2015
- August 2015
- July 2015
- June 2015
- April 2015
- March 2015
- February 2015
- January 2015
- November 2014
- October 2014
- September 2014
- August 2014
- July 2014
- June 2014
- May 2014
- April 2014
- March 2014
- February 2014
- January 2014
- December 2013
- November 2013
- October 2013
- September 2013
- August 2013
- July 2013
- June 2013
- May 2013
- April 2013
- March 2013
- February 2013
- January 2013
- December 2012
- November 2012
- October 2012
- September 2012
- August 2012
- July 2012
- June 2012
- May 2012
- April 2012
- March 2012
- February 2012
Categories
-
Join 53 other subscribers
MyCalendar
May 2024 M T W T F S S 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Meta
Tag Archives: ubuntu
Compress files in MATLAB without other file compression software – Method 3, tar & untar
In the previous post and the post before that, I mentioned two methods for compressing and decompressing files directly in MATLAB using standard ZIP and GNU ZIP methods. In this folder, I demonstrate that we can make tar files using … Continue reading
Compress files in MATLAB without other file compression software – Method 2, GNU ZIP-UNZIP
In previous post, I showed how you can make zip files in MATLAB and also how to unzip them. The previous function zip used the standard ZIP compression. In this post, we take a look at GNU ZIP and GNU … Continue reading
Compress files in MATLAB without other file compression software – Method 1, ZIP-UNZIP
You can easily zip a file (or a set of files) in MATLAB without requiring any external compression software being installed on your machine. This is useful to be able to compress files while still in MATLAB. In this post, … Continue reading
Particle Swarm Optimization – A MATLAB Tutorial for beginners
In this tutorial I will show you how to use the built-in Particle Swarm Optimization (PSO) algorithm in MATLAB. I optimize the famous Ackley’s function which has a global minimum at [0 0] and the function value in the optimum … Continue reading
Posted in Linux, Machine Learning, MATLAB, Optimization, programming, Robotics, Software, Ubuntu
Tagged ackley, beginner, code, easy, fitness, fitness function, linux, m-file, math, mathematics, Matlab, minimum, objective, objective function, optimization, optimum, Particle Swarm, Particle Swarm Optimization, PSO, script, simple, software, source code, test problem, tutorial, ubuntu, video, windows
Leave a comment
Using Multi-Objective Genetic Algorithm to Optimize the ZDT1 test problem – A MATLAB video tutorial
In this tutorial, I show implementation of the ZDT1 multi-objective test problem and optimize it using the built-in Multi-objective Genetic Algorithm in MATLAB. The given objective function is a standard test function that helps a beginner user to understand the … Continue reading
Posted in Linux, Machine Learning, MATLAB, Optimization, programming, Robotics, Software, Ubuntu
Tagged artificial intelligence, beginners, code, easy, evolution strategy, function, generation, genetic algorithm, Machine Learning, math, mathematics, mathworks, Matlab, multi-objective, numerical methods, optimal, optimization, optimum, pareto, pareto front, plot, population, programming, Robotics, script, simple, software, source code, step by step, test problem, tutorial, ubuntu, video, windows, zdt, zdt1
Leave a comment
Check the version when a function was introduced – MATLAB
I just saw the following function written in MATLAB that can extract the information about when a specific function was introduced by MATLAB. Check it out here.
Posted in Linux, MATLAB, programming, SIMULINK, Ubuntu
Tagged array, cell, check, code, example, find, function, introduced, iscell, ischar, linux, Matlab, R2006, R2007, R2008, R2009, R2010, R2011, R2012, R2013, R2014, R2015, simulink, source code, string, tutorial, ubuntu, urlread, ver, version, webread, windows
Leave a comment
MEX file in MATLAB – Part 1
In this tutorial I will show you a very simple example of a MEX file in MATLAB. A MEX file is a compiled version of a C/C++ code written and compiled in MATLAB that can be used/executed as an M-file. … Continue reading
Posted in C/C++, Linux, MATLAB, programming, Software, Ubuntu
Tagged beginner, c++, code, command line, compile, compiler, cpp, dot, double, easy, example, function, guide, int, language, linux, make, mathworks, Matlab, mex, mexFunction, mwSize, mxArray, mxCreateDoubleMatrix, mxGetN, mxGetPr, performance, product, programming, sample, script, size_t, software, source, sourcecode, step, step by step, tutorial, ubuntu, void, windows
Leave a comment
Investigating code performance in MATLAB – Part 1: For-loop
Here I want to show you a very simple example in MATLAB. Consider we have a large matrix (can be an image also) and we want to perform element-wise operation on the matrix elements. Let’s first create a large matrix: … Continue reading
Posted in Linux, MATLAB, Optimization, programming, Software, Ubuntu
Tagged beginner, call, code, computer, easy, element, example, fix, for, for-loop, function, image, linux, math, mathematics, Matlab, matrix, mean, mean2, mod, optimization, performance, progemming, script, simple, software, source, source code, step by step, tutorial, ubuntu, windows
4 Comments
Update status of your code output in one line (MATLAB)
Consider you want to report the status of your code in the command-line, but you do not want to print a new line each time. For instance, to show the percentage of the progress at the same line from 0%, … Continue reading
Posted in Linux, MATLAB, programming, Software, Ubuntu
Tagged backspace, code, command line, example, fprintf, linux, Matlab, programming, sample, simple, software, source, sourcecode, step by step, tutorial, ubuntu, windows
Leave a comment