Answered

Hex to Signed Int conversion of 16bit values in a Table with data type 'cell array of character vectors'

temp = uint16(arrayfun(@(S) sscanf(S, '%x'), YourTable{:,3:6})); output = reshape( typecast(temp(:), 'int16'), size(temp)); Wh...

Hex to Signed Int conversion of 16bit values in a Table with data type 'cell array of character vectors'

temp = uint16(arrayfun(@(S) sscanf(S, '%x'), YourTable{:,3:6})); output = reshape( typecast(temp(:), 'int16'), size(temp)); Wh...

8 days ago | 1

| accepted

Answered

how to skip an error inside a loop?

try x = data.timepoints(6).cells{89, 1}{2, 1}{2, 1}(3); catch ME try x = data.timepoints(6).cells{90, 1}{2, ...

how to skip an error inside a loop?

try x = data.timepoints(6).cells{89, 1}{2, 1}{2, 1}(3); catch ME try x = data.timepoints(6).cells{90, 1}{2, ...

9 days ago | 0

| accepted

Answered

How can I put an arc symbol above a letter?

$\widehat{ab}$ gives something arc-ish $\stackrel{\frown}{ab}$ gives an arc, if not the prettest of them. Or $\frown \atop ...

How can I put an arc symbol above a letter?

$\widehat{ab}$ gives something arc-ish $\stackrel{\frown}{ab}$ gives an arc, if not the prettest of them. Or $\frown \atop ...

9 days ago | 0

| accepted

Answered

How do I transfer an Individual DEMO MATLAB license to a new computer?

My recollection is that DEMO licenses cannot be transferred -- but you can ask for a new DEMO license for the other system.

How do I transfer an Individual DEMO MATLAB license to a new computer?

My recollection is that DEMO licenses cannot be transferred -- but you can ask for a new DEMO license for the other system.

9 days ago | 0

Answered

How to change the origin axis of image?

ax = gca; set(ax, 'YTickLabel', get(ax, 'YTick') - 100 )

How to change the origin axis of image?

ax = gca; set(ax, 'YTickLabel', get(ax, 'YTick') - 100 )

9 days ago | 1

| accepted

Answered

How to append a field to an existing structure in a mat file?

clear s s.a = rand; s.b = rand(2); save('s.mat','-struct', 's', '-v7.3'); s = matfile('s.mat', 'writable', true); s.c = '...

How to append a field to an existing structure in a mat file?

clear s s.a = rand; s.b = rand(2); save('s.mat','-struct', 's', '-v7.3'); s = matfile('s.mat', 'writable', true); s.c = '...

9 days ago | 1

Answered

Difference between individual license and campus license

The Individual license will always be available to you, no matter what toolboxes anyone else is using, even if your network is d...

Difference between individual license and campus license

The Individual license will always be available to you, no matter what toolboxes anyone else is using, even if your network is d...

9 days ago | 1

| accepted

Answered

creating squares of images using imagesc.

imagesc(Mybeta,Myrho,JCpBest) You have invoked the form imagesc(x, y, C) where x and y give information about where the image...

creating squares of images using imagesc.

imagesc(Mybeta,Myrho,JCpBest) You have invoked the form imagesc(x, y, C) where x and y give information about where the image...

9 days ago | 0

| accepted

Answered

Failure in initial objective function evaluation. PARTICLESWARM cannot continue.

particleswarm never passes two separate parameters to an objective function. You need to pack all of the parameters together int...

Failure in initial objective function evaluation. PARTICLESWARM cannot continue.

particleswarm never passes two separate parameters to an objective function. You need to pack all of the parameters together int...

9 days ago | 0

Answered

Issue Timing Data in matlab mobile sensors

MATLAB Mobile collects data internally and sends it towards the MATLAB host using udp. Since it is a wireless transmission and t...

Issue Timing Data in matlab mobile sensors

MATLAB Mobile collects data internally and sends it towards the MATLAB host using udp. Since it is a wireless transmission and t...

9 days ago | 0

Answered

Equation solver nonlinear variables

vpasolve permits you to specify ranges for each variable.

Equation solver nonlinear variables

vpasolve permits you to specify ranges for each variable.

9 days ago | 0

| accepted

Answered

Does MATLAB GUI can work standalone when installed to Raspberry Pi using matlab code (.m file)?

There are no versions of MATLAB that can run on ARM CPU. Executables created with MATLAB Compiler and MATLAB Compiler SDK can...

Does MATLAB GUI can work standalone when installed to Raspberry Pi using matlab code (.m file)?

There are no versions of MATLAB that can run on ARM CPU. Executables created with MATLAB Compiler and MATLAB Compiler SDK can...

10 days ago | 2

Answered

convert image pixels to binary file

fopen the file. fwrite(fid, im_gry, 'uint8'). fclose()

convert image pixels to binary file

fopen the file. fwrite(fid, im_gry, 'uint8'). fclose()

10 days ago | 0

Answered

Does the student version of Communication System Toolbox have all the functionalities that the normal version has?

Yes, the Student Version has access to all of the same functions. The Student Version has the restriction that Simulink models c...

Does the student version of Communication System Toolbox have all the functionalities that the normal version has?

Yes, the Student Version has access to all of the same functions. The Student Version has the restriction that Simulink models c...

10 days ago | 0

| accepted

Answered

Undefined operator '*' for input arguments of type 'function_handle' error in Integral2. Kindly help me clear this error.

You have d1=@(aj) y+aj and Bz= @(ai,aj) (u0/(4*pi))*(((((-1)^1*d1)/(r1*(r1+((-1)^(1+1))*C1)))-(C1/(r1*(r1+d1))))+((((-1)^2*d2...

Undefined operator '*' for input arguments of type 'function_handle' error in Integral2. Kindly help me clear this error.

You have d1=@(aj) y+aj and Bz= @(ai,aj) (u0/(4*pi))*(((((-1)^1*d1)/(r1*(r1+((-1)^(1+1))*C1)))-(C1/(r1*(r1+d1))))+((((-1)^2*d2...

10 days ago | 0

| accepted

Answered

midimsg object can't store data bytes when the data byte value is > 127

https://users.cs.cf.ac.uk/Dave.Marshall/Multimedia/node158.html The most significant bit of data bytes are set to 0. This is ...

midimsg object can't store data bytes when the data byte value is > 127

https://users.cs.cf.ac.uk/Dave.Marshall/Multimedia/node158.html The most significant bit of data bytes are set to 0. This is ...

10 days ago | 0

Answered

try catch loop to evaluate what contains in the folder

evaluction=eval(file(1))) We do not know what the data type is of file, but in all of the cases that come to mind, eval() d...

try catch loop to evaluate what contains in the folder

evaluction=eval(file(1))) We do not know what the data type is of file, but in all of the cases that come to mind, eval() d...

11 days ago | 0

Answered

How to properly convert variable names into a chain of strings in Matlab?

This is not possible in any released version of MATLAB. However you can define function savevars(varargin) N = narg...

How to properly convert variable names into a chain of strings in Matlab?

This is not possible in any released version of MATLAB. However you can define function savevars(varargin) N = narg...

11 days ago | 0

Answered

Can we flash C-code and verify in MATLAB ?

This depends on the exact device, but generally NO. In order to verify that a device has been flashed with the correct cide, ...

Can we flash C-code and verify in MATLAB ?

This depends on the exact device, but generally NO. In order to verify that a device has been flashed with the correct cide, ...

11 days ago | 0

Answered

How can I solve a sparse linear system efficiently in MATLAB?

Since your A is staying the same, you might be able to take advantage of decomposition(A') https://www.mathworks.com/help/matla...

How can I solve a sparse linear system efficiently in MATLAB?

Since your A is staying the same, you might be able to take advantage of decomposition(A') https://www.mathworks.com/help/matla...

11 days ago | 0

Answered

Working with Excel Tables and Importing them.

mask = ismember(YourTable.Properties.VariableNames, ListOfColumnsYouWant); NewTable = YourTable(:,mask);

Working with Excel Tables and Importing them.

mask = ismember(YourTable.Properties.VariableNames, ListOfColumnsYouWant); NewTable = YourTable(:,mask);

11 days ago | 1

| accepted

Answered

Problem with FERUM in performing FORM reliability analysis

[Moving down to be an Answer] No, there is no solution for that. Your inputfile_BJ has marg indicating starting point 10 and m...

Problem with FERUM in performing FORM reliability analysis

[Moving down to be an Answer] No, there is no solution for that. Your inputfile_BJ has marg indicating starting point 10 and m...

11 days ago | 1

| accepted

Answered

Reading update of variable in parallel function?

You have several options: # instead of parfor use spmd. spmd permits you to use labSend to send data to another worker # you...

Reading update of variable in parallel function?

You have several options: # instead of parfor use spmd. spmd permits you to use labSend to send data to another worker # you...

12 days ago | 0

| accepted

Answered

Which part of the DCT matlab example performs quantization?

Notice that there is no coding or transmitting of coefficients in the example either. You have to read a bit carefully. The par...

Which part of the DCT matlab example performs quantization?

Notice that there is no coding or transmitting of coefficients in the example either. You have to read a bit carefully. The par...

12 days ago | 0

Answered

Replace x with x(t) in a symbolic matrix

syms theta1 theta2 theta3 T = [ cos(theta1 + theta2 + theta3), sin(theta1 + theta2 + theta3), 0, 8*cos(theta1 + theta2 + the...

Replace x with x(t) in a symbolic matrix

syms theta1 theta2 theta3 T = [ cos(theta1 + theta2 + theta3), sin(theta1 + theta2 + theta3), 0, 8*cos(theta1 + theta2 + the...

12 days ago | 0

| accepted

Answered

Please help me with the error : "Parse error at numargin: usage might be invalid MATLAB syntax"

isequal() is a comparison. There is seldom a benefit to using isequal() in an expression by itself except for debugging. Count ...

Please help me with the error : "Parse error at numargin: usage might be invalid MATLAB syntax"

isequal() is a comparison. There is seldom a benefit to using isequal() in an expression by itself except for debugging. Count ...

12 days ago | 1

Answered

Creating a Simbolic vector and setting assumptions on it

u = sym('u', [1 N], 'real'); v = sym('v', [1 N], 'real'); w = sym('w', [1 N], 'real'); U = [u, v, w];

Creating a Simbolic vector and setting assumptions on it

u = sym('u', [1 N], 'real'); v = sym('v', [1 N], 'real'); w = sym('w', [1 N], 'real'); U = [u, v, w];

12 days ago | 1

| accepted

Answered

GCC 7.4 with R2018a

Yes, certainly. All you have to do is install whatever version of gcc that you want, and then replace the first gcc on your path...

GCC 7.4 with R2018a

Yes, certainly. All you have to do is install whatever version of gcc that you want, and then replace the first gcc on your path...

12 days ago | 1