Category: Matlab

New Matlab Progressbar

From my last post, I am write about how to create Matlab Progressbar using Matlab waitbar function. In this post, I want to write how to create New Matlab Progressbar with more complete feature (colour, time to finishing computation, support multi progressbar, etc). I dont create this script, but I get this script when searhing

Matlab fix Function to C

I get function fix in Matlab. fix(X) rounds the elements of X to the nearest integers towards zero. For example if we have data with value : X = [-1.9, -0.2, 3.4, 5.6, 7.0] When we use fix function with this data, so we get output : Y = [1.0000        0             3.0000        5.0000 7.0000] I

Matlab : Create Progressbar

When we process a looping function in Matlab, we can create progressbar in this function. Matlab have waitbar function. We can use this function if we want to add progressbar in my function. This is sample of picture progressbar in Matlab with function waitbar: This is example how to create progressbar in Matlab. Copy this

Matlab GUI With Multiple Axes

We can create Matlab with multiple axes with command subplot.  Example : subplot(2,2,1); plot(x1,y1); subplot(2,2,2); plot(x1,y4); subplot(2,2,3); plot(x1,y4); subplot(2,2,4); plot(x1,y4); Output image from this Matlab with multiple axes code is : But when we create a gui program (with GUIDE) in matlab, we can not create Matlab GUI with multiple axes directly. This is a