Answered

License checkout failed after cloning my HDD

Run the deactivation executable and then the activation executable. This would probably count as one of the permitted "transfer...

License checkout failed after cloning my HDD

Run the deactivation executable and then the activation executable. This would probably count as one of the permitted "transfer...

4 dagar ago | 1

Answered

CNN inputs and outputs are incorrect and I don't know why

K = 10000; [X,Y] = batchCreation(K,N); We do not have that function, batchCreation, so we do not know at the moment what size(...

CNN inputs and outputs are incorrect and I don't know why

K = 10000; [X,Y] = batchCreation(K,N); We do not have that function, batchCreation, so we do not know at the moment what size(...

4 dagar ago | 0

Answered

I should calculate sample mean ms and variance

for N = [1 2 5 10.^[ 1 : 5 ] ] at each point inside the loop, N will be a scalar value that is one of the values indicated ...

I should calculate sample mean ms and variance

for N = [1 2 5 10.^[ 1 : 5 ] ] at each point inside the loop, N will be a scalar value that is one of the values indicated ...

4 dagar ago | 0

Answered

How to save and import gTruth objects

gTruth = load('Porcelain_gTruth.mat','Porcelain_gTruth'); That form of load() does not return just the variable you asked to lo...

How to save and import gTruth objects

gTruth = load('Porcelain_gTruth.mat','Porcelain_gTruth'); That form of load() does not return just the variable you asked to lo...

4 dagar ago | 0

| accepted

Answered

Why does disappear my plot when i zoom in in the interest zone?

Your code assumes that there are continuous solutions for at least a subrange of [0 20*pi] % CONSTANTS mu=4*pi*10^-7; c=3E8; ...

Why does disappear my plot when i zoom in in the interest zone?

Your code assumes that there are continuous solutions for at least a subrange of [0 20*pi] % CONSTANTS mu=4*pi*10^-7; c=3E8; ...

4 dagar ago | 0

Answered

How i can convert any type of image to ASCII values and store these values into one-dimensional array?

N = ndims(YourImage); indices = cell(1,N); idx = find(YourImage); [indices{:}] = ind2sub(size(YourImage), idx); values = You...

How i can convert any type of image to ASCII values and store these values into one-dimensional array?

N = ndims(YourImage); indices = cell(1,N); idx = find(YourImage); [indices{:}] = ind2sub(size(YourImage), idx); values = You...

4 dagar ago | 0

Answered

I need to know how to use the for command to calculate y=2/x

You should learn this pattern: xvals = 1:0.5:10; num_x = length(xvals); y = zeros(num_x, 1); for xindex = 1 : num_x x =...

I need to know how to use the for command to calculate y=2/x

You should learn this pattern: xvals = 1:0.5:10; num_x = length(xvals); y = zeros(num_x, 1); for xindex = 1 : num_x x =...

4 dagar ago | 0

Answered

Error using fsolve inside a parfor loop

global variables are not copied to workers in parfor. You will need to use parfevalOnAll to set the global variables to their d...

Error using fsolve inside a parfor loop

global variables are not copied to workers in parfor. You will need to use parfevalOnAll to set the global variables to their d...

5 dagar ago | 1

| accepted

Answered

I have the .csv file that has the frequency of 2000 Hz. I am using the Sine fit function but when I run it and print it I am not getting the 2000 Hz as print output.

filename = 'points.csv'; % Vandit Shah format long g % Reading the data from the CSV file X = csvread(filename,16,0);...

I have the .csv file that has the frequency of 2000 Hz. I am using the Sine fit function but when I run it and print it I am not getting the 2000 Hz as print output.

filename = 'points.csv'; % Vandit Shah format long g % Reading the data from the CSV file X = csvread(filename,16,0);...

5 dagar ago | 1

| accepted

Answered

I need help Im trying to have a trouble issue here like I dont want to use numbers to detect that speaker. I want to use names. This is my code. In the training part

user = cellstr(input('Enter the users name:', 's'));

I need help Im trying to have a trouble issue here like I dont want to use numbers to detect that speaker. I want to use names. This is my code. In the training part

user = cellstr(input('Enter the users name:', 's'));

5 dagar ago | 0

Answered

vpasolve gives me only 1 x-value of intersection

vpasolve() only ever returns multiple results in the case of where the expressions are all polynomials, and there is the same nu...

vpasolve gives me only 1 x-value of intersection

vpasolve() only ever returns multiple results in the case of where the expressions are all polynomials, and there is the same nu...

5 dagar ago | 0

Answered

Why won't the tf command work for my function?

tf() can never accept symbolic values. Also the arrays you constructed included s to powers, but tf expects just vectors of num...

Why won't the tf command work for my function?

tf() can never accept symbolic values. Also the arrays you constructed included s to powers, but tf expects just vectors of num...

5 dagar ago | 1

Answered

How to use error handler for arrayfun?

logicalOutput = arrayfun(@(id) passingCentralZone(id), input_data.id(1:10), 'ErrorHandler', @(s,varargin) false());

How to use error handler for arrayfun?

logicalOutput = arrayfun(@(id) passingCentralZone(id), input_data.id(1:10), 'ErrorHandler', @(s,varargin) false());

5 dagar ago | 0

| accepted

Answered

Error: Too many functions when plotting series

x=[0:pi/100:2*pi]; That creates a numeric x in steps of syms f(x); That is equivalent to syms x f = symfun('f(x)', x) wh...

Error: Too many functions when plotting series

x=[0:pi/100:2*pi]; That creates a numeric x in steps of syms f(x); That is equivalent to syms x f = symfun('f(x)', x) wh...

5 dagar ago | 1

| accepted

Answered

How to write this expression in matlab?

syms k n r expr = nchoosek(n, k) * (n-k)/sqrt(n) * (-1)^(n-k) * sinh(r)^(2*n-1-2*k) * cosh(r)^(2*k-n-1) g(n) = symsum(expr, k,...

How to write this expression in matlab?

syms k n r expr = nchoosek(n, k) * (n-k)/sqrt(n) * (-1)^(n-k) * sinh(r)^(2*n-1-2*k) * cosh(r)^(2*k-n-1) g(n) = symsum(expr, k,...

5 dagar ago | 0

| accepted

Answered

How to find which equation that have "Warning: Solution does not exist because the system is inconsistent"

If you get inf on output, there are few possibilities: that there are infinite entries in the matrix (but these would typically...

How to find which equation that have "Warning: Solution does not exist because the system is inconsistent"

If you get inf on output, there are few possibilities: that there are infinite entries in the matrix (but these would typically...

5 dagar ago | 0

Answered

I'm a newbie coding titanic but got stuck with an error

Titanic_test = readtable('test.csv'); That returns a table object. age_test = cell2mat(Titanic_test(:,5)); Using () indexing ...

I'm a newbie coding titanic but got stuck with an error

Titanic_test = readtable('test.csv'); That returns a table object. age_test = cell2mat(Titanic_test(:,5)); Using () indexing ...

5 dagar ago | 0

| accepted

Answered

Record and save audio with your specific file name for the audio.

To allow the user to create the file name use uiputfile [filename, pathname] = uiputfile('*.wav', 'File name for output'); if ...

Record and save audio with your specific file name for the audio.

To allow the user to create the file name use uiputfile [filename, pathname] = uiputfile('*.wav', 'File name for output'); if ...

5 dagar ago | 0

Answered

Unable to run code analysis

Your file is named 3d_model.mlx . However, the file names for MATLAB source code ( .m ) and Live Script ( .mlx ) and Simulink mo...

Unable to run code analysis

Your file is named 3d_model.mlx . However, the file names for MATLAB source code ( .m ) and Live Script ( .mlx ) and Simulink mo...

5 dagar ago | 0

| accepted

Answered

Read vtk files (created from paraview) into Matlab

See https://www.mathworks.com/matlabcentral/fileexchange/106610-vtk-read-and-write-package or https://www.mathworks.com/matlabce...

Read vtk files (created from paraview) into Matlab

See https://www.mathworks.com/matlabcentral/fileexchange/106610-vtk-read-and-write-package or https://www.mathworks.com/matlabce...

5 dagar ago | 0

| accepted

Answered

Why is the fit() function producing a horizontal line above my data?

Activate the "center and scale" option -- but remember that the coefficients you are shown as a result refer to the centered/sca...

Why is the fit() function producing a horizontal line above my data?

Activate the "center and scale" option -- but remember that the coefficients you are shown as a result refer to the centered/sca...

5 dagar ago | 0

| accepted

Answered

Multiple Outputs for RK methods

Indistinguishable results on the scale of h that I experimented with h = 0.002:0.001:0.007; num_h = length(h); tfinal = 55;...

Multiple Outputs for RK methods

Indistinguishable results on the scale of h that I experimented with h = 0.002:0.001:0.007; num_h = length(h); tfinal = 55;...

5 dagar ago | 0

Answered

ode45 problem: Index in position 1 is invalid

b = deval(ode45(@(t,y) b(t,y,alfa,sigma),[T 0], 0), flip(maturities)); Before that line, b refers to the function b(t,y,alfa,si...

ode45 problem: Index in position 1 is invalid

b = deval(ode45(@(t,y) b(t,y,alfa,sigma),[T 0], 0), flip(maturities)); Before that line, b refers to the function b(t,y,alfa,si...

5 dagar ago | 0

Answered

Fzero Initial value issues

fun = @(x) polyval(polyfit(t2,h2,1),x)-.5 Why are you redoing the polyfit each time? You are not changing t2 or h2 or 1 inside ...

Fzero Initial value issues

fun = @(x) polyval(polyfit(t2,h2,1),x)-.5 Why are you redoing the polyfit each time? You are not changing t2 or h2 or 1 inside ...

5 dagar ago | 0

Answered

How to run matlab on GPU

MATLAB itself cannot run on the GPU. If you have an appropriate GPU, and you have the Parallel Computing Toolbox, then MATLAB ...

How to run matlab on GPU

MATLAB itself cannot run on the GPU. If you have an appropriate GPU, and you have the Parallel Computing Toolbox, then MATLAB ...

5 dagar ago | 1

| accepted

Answered

using less than operator and combination of if and for statement

You cannot use a condition in for : if you need to use a condition you should be using while Note that when you use while, at l...

using less than operator and combination of if and for statement

You cannot use a condition in for : if you need to use a condition you should be using while Note that when you use while, at l...

5 dagar ago | 0

| accepted

Answered

I have a battle ship code but I cant get the ships to be placed

During initialization, keep a logical array occupied that starts out all false. For each piece to be placed, randomly generate...

I have a battle ship code but I cant get the ships to be placed

During initialization, keep a logical array occupied that starts out all false. For each piece to be placed, randomly generate...

5 dagar ago | 0

Answered

Using 'for loop' to plot

Of course you can do it with a loop. I am not clear as to why you are constructing an x range that is not just the inside of th...

Using 'for loop' to plot

Of course you can do it with a loop. I am not clear as to why you are constructing an x range that is not just the inside of th...

5 dagar ago | 0

Answered

'trainingOptions' without 'trainNetwork' in deep learning

No. trainNetwork knows to use the options because you pass the options in. sgdmupdate does not permit you to pass in options so ...

'trainingOptions' without 'trainNetwork' in deep learning

No. trainNetwork knows to use the options because you pass the options in. sgdmupdate does not permit you to pass in options so ...

6 dagar ago | 0

| accepted

Answered

Count number of unique symbols in an expression

With limits, present = cellfun(@(expr), ismember(dimen, symvar(expr)), param, 'UniformOutput', false) counts = sum(vertc...

Count number of unique symbols in an expression

With limits, present = cellfun(@(expr), ismember(dimen, symvar(expr)), param, 'UniformOutput', false) counts = sum(vertc...

6 dagar ago | 0