Submitted

Zoom mode (h-axis, y-axis or both axis) set by mouse position

Switch between vertical/horizontal/both axis zoom mode by moving the mouse above the figure.

ungefär 3 år ago | 3 downloads |

Question

PyQt4 and Matlab

PyQt4 can be imported however every time an item is created it closes the Matlab session... qtgui = py.importlib.import_mod...

mer än 3 år ago | 0 answers | 0

Answered

can anybody tell me the code how to find sum of series for a complex function?

What you want to compute looks like convolutions. I think there is a mistake in the CCF expression which does not depend on k. W...

can anybody tell me the code how to find sum of series for a complex function?

What you want to compute looks like convolutions. I think there is a mistake in the CCF expression which does not depend on k. W...

mer än 3 år ago | 1

Answered

how to find sum of series for a complex function?

What you want to compute looks like a convolution. Would this do the work ? Note that CCF does not depend on k in your expressio...

how to find sum of series for a complex function?

What you want to compute looks like a convolution. Would this do the work ? Note that CCF does not depend on k in your expressio...

mer än 3 år ago | 0

Answered

Preallocating memory for a cell array of unknown size & removing the empty rows in cells array

You can use the following cell function : A(~cellfun('isempty',A))'

Preallocating memory for a cell array of unknown size & removing the empty rows in cells array

You can use the following cell function : A(~cellfun('isempty',A))'

mer än 3 år ago | 2

Answered

How to change a 3 dimensional matrix to 2 dimensinal?

If A is your matrix, you can use squeeze(A)

How to change a 3 dimensional matrix to 2 dimensinal?

If A is your matrix, you can use squeeze(A)

mer än 3 år ago | 0

| accepted

Answered

How to convert binary elements of a cell into decimal number

Here I create a cell of size 16 (and not 1624) as an example a = {1, 0, 1, 1, 0, 1, 0, 1, 0, 1, 1, 0, 0, 1, 1, 1}; Resha...

How to convert binary elements of a cell into decimal number

Here I create a cell of size 16 (and not 1624) as an example a = {1, 0, 1, 1, 0, 1, 0, 1, 0, 1, 1, 0, 0, 1, 1, 1}; Resha...

mer än 3 år ago | 0

Answered

Re-naming Text files in many folders using matlab

Use the following function GetAllSubDirAndFiles(main_folder) where main_folder is the path to the folder containing all the subf...

Re-naming Text files in many folders using matlab

Use the following function GetAllSubDirAndFiles(main_folder) where main_folder is the path to the folder containing all the subf...

mer än 3 år ago | 0

Answered

To find a vector subset of a matrix in sequence?

Here is a solution in one line : A = [1 2 3]; B = [2 3 4 1; 1 2 3 4; 2 4 1 3; 2 3 1 4]; % Reshape B in a 1D array...

To find a vector subset of a matrix in sequence?

Here is a solution in one line : A = [1 2 3]; B = [2 3 4 1; 1 2 3 4; 2 4 1 3; 2 3 1 4]; % Reshape B in a 1D array...

mer än 3 år ago | 1

| accepted

Question

Why do array of dynamical properties not behave like array of properties ?

Why do dynamical properties behave differently than usual properties when getting them ? Let us say I have one array of objec...

mer än 3 år ago | 1 answer | 1

Question

Memory leak when calling DOS command in a loop

I have running an executable file using the "dos" command. This file is a compiled .lua file doing some calculations : for ...

nästan 5 år ago | 1 answer | 2

Question

Time-independent 2D Schrodinger equation with non separable potential

I would like to solve the time-independent 2D Schrodinger equation for a non separable potential using exact diagonalization. I ...

ungefär 7 år ago | 3 answers | 0