Risposto

How to mix integers and chars in matrix?

Well, you could do something like >> a = '123ABC'; >> l = size(a,2); >> rp = randperm(l/2); >> a1 = a([rp rp+l/2])...

How to mix integers and chars in matrix?

Well, you could do something like >> a = '123ABC'; >> l = size(a,2); >> rp = randperm(l/2); >> a1 = a([rp rp+l/2])...

oltre 13 anni fa | 0

Risposto

How to mix integers and chars in matrix?

As Paulo pointed out, this most likely requires usage of cells, e.g.: >> A = {1 2 3 'A' 'B' 'C'}; >> A1 = A(randperm(6))...

How to mix integers and chars in matrix?

As Paulo pointed out, this most likely requires usage of cells, e.g.: >> A = {1 2 3 'A' 'B' 'C'}; >> A1 = A(randperm(6))...

oltre 13 anni fa | 1

| accettato

Risposto

How to read images in a folder

There might be different ways to do this. An easy one is for a = 1:10 filename = ['user001-' num2str(a,'%02d') '.bmp'...

How to read images in a folder

There might be different ways to do this. An easy one is for a = 1:10 filename = ['user001-' num2str(a,'%02d') '.bmp'...

oltre 13 anni fa | 4

Risposto

Using a Database in RTWS and Simulink with the same code

I cannot comment on the task or feasibility to rewrite all database operations as S-functions. However, within a C-code S-functi...

Using a Database in RTWS and Simulink with the same code

I cannot comment on the task or feasibility to rewrite all database operations as S-functions. However, within a C-code S-functi...

oltre 13 anni fa | 1

Risposto

A Graphical User Interface problem

Maybe you can use MATLAB's interface to COM to link to your VB application? The External Interfaces Section in the MATLAB docume...

A Graphical User Interface problem

Maybe you can use MATLAB's interface to COM to link to your VB application? The External Interfaces Section in the MATLAB docume...

oltre 13 anni fa | 1

Risposto

Linking C++ with Matlab

Often error messages like this have to do with either multiple MATLAB installations on the same machine or when copying MATLAB D...

Linking C++ with Matlab

Often error messages like this have to do with either multiple MATLAB installations on the same machine or when copying MATLAB D...

oltre 13 anni fa | 0