Professional Interests: programming, image processing, biomedical imaging

Question

PCT GPU Computing: CUDA error was: setting the device when a process is active is not allowed

Hi, everyone! It seems to me that there is a problem in Parallel Computing Toolbox (PCT) with CUDA operation. The problem is...

6 years ago | 2 answers | 2

Answered

Error using length() command ??

You redefined LENGTH? For example: length = [] length('r') Index exceeds matrix dimensions. which('leng...

Error using length() command ??

You redefined LENGTH? For example: length = [] length('r') Index exceeds matrix dimensions. which('leng...

6 years ago | 3

Answered

Code Blocks configuration for Calling Matlab code from C/C++

GCC compiler for "MATLAB Externals" is not supported on windows platform. You must use the Microsoft compiler. ...but, unfort...

Code Blocks configuration for Calling Matlab code from C/C++

GCC compiler for "MATLAB Externals" is not supported on windows platform. You must use the Microsoft compiler. ...but, unfort...

6 years ago | 0

| accepted

Answered

Operation on matrix_for beginner

u = 1 ./ (exp(a * V / c) - 1) + 1 Out = bsxfun(@rdivide, M, u) For example: M = rand(3, 12) V = rand(1, 12) a ...

Operation on matrix_for beginner

u = 1 ./ (exp(a * V / c) - 1) + 1 Out = bsxfun(@rdivide, M, u) For example: M = rand(3, 12) V = rand(1, 12) a ...

6 years ago | 1

Answered

How to: Matrix question empty column

This available only for *cell arrays*. [] - (Empty) Already an array Numeric arrays can not store any other empty numeric...

How to: Matrix question empty column

This available only for *cell arrays*. [] - (Empty) Already an array Numeric arrays can not store any other empty numeric...

6 years ago | 1

Answered

display different colors in command window, using command "disp" or similar

Use <http://www.mathworks.com/matlabcentral/fileexchange/24093-cprintf-display-formatted-colored-text-in-the-command-window cpri...

display different colors in command window, using command "disp" or similar

Use <http://www.mathworks.com/matlabcentral/fileexchange/24093-cprintf-display-formatted-colored-text-in-the-command-window cpri...

6 years ago | 0

Answered

Decimal random number generator

Do you have the distribution law for pseudo-random numbers for your problem? You can use RAND function for generate uniformly di...

Decimal random number generator

Do you have the distribution law for pseudo-random numbers for your problem? You can use RAND function for generate uniformly di...

6 years ago | 0

Answered

ANOVAN: Undefined function or variable "denommat"

I think this is a bug (defect) in function ANOVAN. Variable _denommat_ is not define, but use in nested function MAKESTATS for ...

ANOVAN: Undefined function or variable "denommat"

I think this is a bug (defect) in function ANOVAN. Variable _denommat_ is not define, but use in nested function MAKESTATS for ...

6 years ago | 0

Answered

Mean of Multiple Data

frequency = [1, 2, 3, 4, 5, 6] impedance = [6 2 7 5 6 7 10 9 5 1 7 9 7 8 4 7 4...

Mean of Multiple Data

frequency = [1, 2, 3, 4, 5, 6] impedance = [6 2 7 5 6 7 10 9 5 1 7 9 7 8 4 7 4...

6 years ago | 1

| accepted

Answered

Plot multiple graph using 'hold on' and loop function

You want to do this? n = 0.1:0.1:1; x = 0.1:0.1:3; for ni = n a = 1 / 3^ni; y = a * x.^ni; plo...

Plot multiple graph using 'hold on' and loop function

You want to do this? n = 0.1:0.1:1; x = 0.1:0.1:3; for ni = n a = 1 / 3^ni; y = a * x.^ni; plo...

6 years ago | 1

Answered

Use of "return" in simple if statement

You need to use ERROR function, do not return: function myfunc(parameter) if (parameter < 1) error('Wrong...

Use of "return" in simple if statement

You need to use ERROR function, do not return: function myfunc(parameter) if (parameter < 1) error('Wrong...

6 years ago | 0

Answered

Reading Multiple Images from Folder

Use natural sorting for image filenames. http://www.mathworks.com/matlabcentral/fileexchange/10959-sortnat-natural-order-sort...

Reading Multiple Images from Folder

Use natural sorting for image filenames. http://www.mathworks.com/matlabcentral/fileexchange/10959-sortnat-natural-order-sort...

6 years ago | 1

Answered

How do I create a function that interweaves two vectors of 1xN dimensions?

As one of the ideas: v1 = [1, 2, 3, 4] v2 = [5, 6, 7, 8, 9, 10] lv1 = length(v1) lv2 = length(v2) v = zer...

How do I create a function that interweaves two vectors of 1xN dimensions?

As one of the ideas: v1 = [1, 2, 3, 4] v2 = [5, 6, 7, 8, 9, 10] lv1 = length(v1) lv2 = length(v2) v = zer...

6 years ago | 0

| accepted

Answered

String to Variable conversion?

So that's that? strcat('data.', evalin('base', strcat('v',num2str(n))))

String to Variable conversion?

So that's that? strcat('data.', evalin('base', strcat('v',num2str(n))))

6 years ago | 0

Question

Why do I get an error if do not define a constructor in the inherited class?

Here's a simple example that does not work in the MATLAB language: classdef Bar < handle % Bar class ...

6 years ago | 2 answers | 2

Answered

Select specific digits of a number

x = 953 d = 100 r = mod(x, d) % 53 y = (x - r) / d % y = 9

Select specific digits of a number

x = 953 d = 100 r = mod(x, d) % 53 y = (x - r) / d % y = 9

6 years ago | 3

| accepted

Submitted

DIRWALK - Walk the directory tree

Generate the file names and dir names in a directory tree by walking the tree.

8 years ago | 10 downloads |

Submitted

DRAGZOOM - Drag and zoom tool

DRAGZOOM allows you to handy interactively manage the axes in figure.

8 years ago | 18 downloads |

Question

Bugs in tscollection class?

I found that in class TSCOLLECTION the method ADDTS has two bugs in subfunction "localUnitConv". Or am I mistaken? But what i...

8 years ago | 1 answer | 0

Answered

How can I get the HWND (Native Window Handle) of the client region of UIPANEL on MATLAB Figure?

It seems that I'm moving in the right direction... :) For example: h = figure; jc = javacomponent(java.awt.Canvas, [100...

How can I get the HWND (Native Window Handle) of the client region of UIPANEL on MATLAB Figure?

It seems that I'm moving in the right direction... :) For example: h = figure; jc = javacomponent(java.awt.Canvas, [100...

8 years ago | 0

Answered

Two problems

Hi! 1) Use functions: SIND, COSD, TAND, etc... and convertors RAD2DEG, DEG2RAD. 2) You can use FIX(DET(a)) :) 3) Book -...

Two problems

Hi! 1) Use functions: SIND, COSD, TAND, etc... and convertors RAD2DEG, DEG2RAD. 2) You can use FIX(DET(a)) :) 3) Book -...

8 years ago | 0

Question

How can I get the HWND (Native Window Handle) of the client region of UIPANEL on MATLAB Figure?

Hi! I need to have access from the outside to a given region of MATLAB Figure. I want to ask this region, using UIPANEL. Can...

8 years ago | 3 answers | 0

Submitted

ConsoleProgressBar

Console progress bar for long-running operations

8 years ago | 0 downloads |

Submitted

INI Config

The class for working with configurations of settings and INI-files.

9 years ago | 21 downloads |