Professional Interests: differential equations, fluid mechanics, extended finite element method, MATLAB

Question

Progress bar for file download

I would like to know how much of a file is downloaded when using *urlwrite*. It gives indication to the user about the process.

20 days ago | 0 answers | 0

Question

Graphical issues when opening an OpenGL program from MATLAB

I use the finite element visualizer *GLVis*, based on OpenGL. When I run it from the terminal, it works as it should. However, w...

1 month ago | 0 answers | 0

Solved

Pernicious Anniversary Problem

Since Cody is 5 years old, it's pernicious. A <http://rosettacode.org/wiki/Pernicious_numbers Pernicious number> is an integer w...

3 months ago

Solved

The 5th Root

Write a function to find the 5th root of a number. It sounds easy, but the typical functions are not allowed (see the test su...

3 months ago

Question

parfor results core dump

MATLAB R2015b crashes on 64 bit Linux. I managed to track the cause of failure to this chunk of code values = cell(1, nElem...

3 months ago | 0 answers | 0

Question

Observe graphics object added to the axes

I have an axes object which contains several child objects (lines, patches, etc.). I have a function which sets the callback fun...

4 months ago | 1 answer | 0

Question

Should I indicate no input arguments to a function?

Suppose I have a function which requires no inputs. Should I indicate it with parentheses () or leave it naked? Both cases work,...

5 months ago | 1 answer | 0

Question

Why does the function 'details' show more than 'disp' for objects?

According to the documentation, the 'details' function provides more information when the input is an object than 'disp'. Howeve...

1 year ago | 1 answer | 1

Question

Test suite for regular expressions

Where could I find a test package for regular expressions in MATLAB? There are many in different languages, but the MATLAB synta...

1 year ago | 1 answer | 1

Question

Where is MATLAB's function browser in the Editor?

In older MATLAB releases (e.g. 2011a), there was an icon in the Editor which popped up the functions seen in an m-file so that I...

2 years ago | 1 answer | 0

Question

Return output from the main function after a specific callback

I am building a GUI programatically. I created a *_main_* function which sets the GUI objects and their callback definitions. Af...

2 years ago | 1 answer | 0

Question

Dependent property is shown in the variable editor even before its get method

I have a class with a dependent property. But even before I invoke its get method, its value is shown in the Variable Editor. Ho...

2 years ago | 1 answer | 0

Answered

How to assign pointers to an object's property?

After thorough discussions, the answer can be found on <http://stackoverflow.com/questions/33543906/how-to-assign-pointers-to-an...

How to assign pointers to an object's property?

After thorough discussions, the answer can be found on <http://stackoverflow.com/questions/33543906/how-to-assign-pointers-to-an...

2 years ago | 1

| accepted

Question

How to assign pointers to an object's property?

I want to create a finite element object oriented program. I have a class *Node*. Since the nodes in a finite element mesh (repr...

2 years ago | 1 answer | 1

Question

How to call subclass constructor

I have a class *mesh1D*. I want to create an another class, called *crack* to be the subclass of *mesh1D*. My subclass has one (...

2 years ago | 1 answer | 0

Question

How to efficiently update an image if one matrix element is changed

I have a matrix in which I change only one element in every iteration of a loop. I want to display that matrix as an image using...

2 years ago | 1 answer | 0

Submitted

Fourier differentiation

Fourier spectral differentiation of a periodic real function

2 years ago | 1 download |

Question

File path containing %

I would like to get the path for directories containing % (like %MATLAB_ROOT%, %APPDATA%, etc.) in Windows. However, functions l...

2 years ago | 1 answer | 0

Question

Can I use Visual Studio 2013 with MATLAB R2011a unofficially?

Has anyone experience if one can use the Microsoft Visual Studio 2013 compiler with MATLAB R2011a using <http://www.mathworks.co...

2 years ago | 1 answer | 0

Submitted

Computational cost for Cramer's rule

Demonstrate the huge cost of Cramer's rule on a system of linear equations.

3 years ago | 0 downloads |

Submitted

Chebyshev to monomial basis

Chebyshev to monomial basis conversion

3 years ago | 0 downloads |

Submitted

Monomial to Chebyshev basis

Monomial to Chebyshev basis conversion

3 years ago | 0 downloads |

Answered

rand matrix for FM

I recommend you to generate the matrix of the required size and then modify one element of it so that the sum holds. E.g. A ...

rand matrix for FM

I recommend you to generate the matrix of the required size and then modify one element of it so that the sum holds. E.g. A ...

3 years ago | 0

Answered

How can i solve these systems of ODE

Well, you have to solve the system of BVPs several times for each different values of Gr, Pr and Sc. Then you can plot the data ...

How can i solve these systems of ODE

Well, you have to solve the system of BVPs several times for each different values of Gr, Pr and Sc. Then you can plot the data ...

3 years ago | 0

Answered

how to do 1d vector deletion?

% First, delete from index 20000 to 50000 v = v(1:19999); % Delete the index containing the value 132 v = v(v~=132);

how to do 1d vector deletion?

% First, delete from index 20000 to 50000 v = v(1:19999); % Delete the index containing the value 132 v = v(v~=132);

3 years ago | 0

Submitted

Disk with a rod

Solves the initial value problem of the motion of a mass point attached to a disk with a rod

3 years ago | 0 downloads |

Answered

What is the benefit of using a function handle?

The two statements are not the same. The first one defines a function while the second one is an equality. The two identical for...

What is the benefit of using a function handle?

The two statements are not the same. The first one defines a function while the second one is an equality. The two identical for...

3 years ago | 0

Answered

having trouble to insert text in GUI table

It is because you supplied a string. Convert it to number. edit1 = str2num(edit1); edit1 = ceil(edit1); ...

having trouble to insert text in GUI table

It is because you supplied a string. Convert it to number. edit1 = str2num(edit1); edit1 = ceil(edit1); ...

3 years ago | 0