Answered

ltefadingchannel built-in function

See https://www.mathworks.com/company/jobs/opportunities/search/ for job openings at Mathworks. See https://www.mathworks.com/...

ltefadingchannel built-in function

See https://www.mathworks.com/company/jobs/opportunities/search/ for job openings at Mathworks. See https://www.mathworks.com/...

8 dagen ago | 0

Answered

K Nested For Loops for arbitrary K

See sample code at https://www.mathworks.com/matlabcentral/answers/357969-using-recursive-function-to-calculate-all-possible-pep...

K Nested For Loops for arbitrary K

See sample code at https://www.mathworks.com/matlabcentral/answers/357969-using-recursive-function-to-calculate-all-possible-pep...

8 dagen ago | 0

Answered

Implementation if statement with two different conditions

for j=1:length(depth); if depth < 20 % F=1-Fs w=(10-0.5*depth(j)) else depth > 20 ...

Implementation if statement with two different conditions

for j=1:length(depth); if depth < 20 % F=1-Fs w=(10-0.5*depth(j)) else depth > 20 ...

9 dagen ago | 0

Answered

I am getting "Array indices must be positive integers or logical values" error when viewsolid is used. What does this mean and how to solve it?

You have viewSolid(z,0+0*x*y, x^2+y,x,0,sqrt(1+x^2),y,0,1); The fifth input is numeric 0. viewSolid is designed to test for t...

I am getting "Array indices must be positive integers or logical values" error when viewsolid is used. What does this mean and how to solve it?

You have viewSolid(z,0+0*x*y, x^2+y,x,0,sqrt(1+x^2),y,0,1); The fifth input is numeric 0. viewSolid is designed to test for t...

9 dagen ago | 0

Answered

What is the best technique to do image similarity on a pair of images that are only line segments and provides a value on how similar they are?

The best way is due to be invented in 1,719,483 years, 2 months, and 11 days, by some small furry creatures from Alpha Centauri....

What is the best technique to do image similarity on a pair of images that are only line segments and provides a value on how similar they are?

The best way is due to be invented in 1,719,483 years, 2 months, and 11 days, by some small furry creatures from Alpha Centauri....

10 dagen ago | 0

Answered

Simultaneously get output and plot using RF Propagation Toolbox functions

link() has internal code the is different when called with no outputs compared to one output. The code for no outputs calls a fe...

Simultaneously get output and plot using RF Propagation Toolbox functions

link() has internal code the is different when called with no outputs compared to one output. The code for no outputs calls a fe...

11 dagen ago | 0

Answered

Skipping Optional Positional Arguments

Unfortunately you cannot use [] to trigger detection as "missing" for the purpose of default argument processing. function y =...

Skipping Optional Positional Arguments

Unfortunately you cannot use [] to trigger detection as "missing" for the purpose of default argument processing. function y =...

11 dagen ago | 0

Answered

Suppressing braces and single quotes of a string matrix

CS = {'abracadabra'; 'hocus pocus'}; disp(char(CS))

Suppressing braces and single quotes of a string matrix

CS = {'abracadabra'; 'hocus pocus'}; disp(char(CS))

11 dagen ago | 0

Answered

Open heavy *.slx files with my GPU

Sorry, there is no way to open them with GPU. https://www.mathworks.com/help/gpucoder/ug/simulation-acceleration-using-gpu-code...

Open heavy *.slx files with my GPU

Sorry, there is no way to open them with GPU. https://www.mathworks.com/help/gpucoder/ug/simulation-acceleration-using-gpu-code...

12 dagen ago | 1

Answered

How to include Markers in a string for title of a plot

Possibly you have set the default Interpreter on titles to 'latex' var = rand(2,1); str = "Hi there!"; ttl = sprintf(' R1 = %...

How to include Markers in a string for title of a plot

Possibly you have set the default Interpreter on titles to 'latex' var = rand(2,1); str = "Hi there!"; ttl = sprintf(' R1 = %...

13 dagen ago | 0

Answered

I am trying to solve a state space equation with 4 state variables. I am getting "Error using ballbeam Too many output arguments. Error in odearguments (line 92) f0 = ode(t0,

You need function dx = ballbeam(t,x)

I am trying to solve a state space equation with 4 state variables. I am getting "Error using ballbeam Too many output arguments. Error in odearguments (line 92) f0 = ode(t0,

You need function dx = ballbeam(t,x)

13 dagen ago | 1

Answered

Help me to open .bin file

No, we cannot help. The ".bin" file extension is used by arbitrary file formats, with no standardization. You need additional i...

Help me to open .bin file

No, we cannot help. The ".bin" file extension is used by arbitrary file formats, with no standardization. You need additional i...

14 dagen ago | 0

| accepted

Answered

save images inside for loop

for i = 1:2:100 %% operation %% saveas(gcf,sprintf('Y_%d.bmp',(i+1)/2)) end

save images inside for loop

for i = 1:2:100 %% operation %% saveas(gcf,sprintf('Y_%d.bmp',(i+1)/2)) end

14 dagen ago | 0

Answered

كيفية حذف الصف والأعمد في أمر واحد من المصفوفة

YourMatrix(RowToDelete, :) = []; YourMatrix(:, ColumnToDelete) = []; Doing both as a single command would be tricky.

كيفية حذف الصف والأعمد في أمر واحد من المصفوفة

YourMatrix(RowToDelete, :) = []; YourMatrix(:, ColumnToDelete) = []; Doing both as a single command would be tricky.

14 dagen ago | 0

Answered

Turning powers of hyperbolic functions to multiple arguments

syms x y1 = cosh(x)^7 y2 = cosh(7*x) isAlways(y1 == y2) d = y1 - y2 fplot(d, [-0.5 0.5]) so the two forms are not equivale...

Turning powers of hyperbolic functions to multiple arguments

syms x y1 = cosh(x)^7 y2 = cosh(7*x) isAlways(y1 == y2) d = y1 - y2 fplot(d, [-0.5 0.5]) so the two forms are not equivale...

15 dagen ago | 0

Answered

How do I input a lot of values and record each single output in Bvp4c?

This old-fashioned way will take A LOT of time to reach the final 1025 input. Looping is the main practical way to solve this p...

How do I input a lot of values and record each single output in Bvp4c?

This old-fashioned way will take A LOT of time to reach the final 1025 input. Looping is the main practical way to solve this p...

15 dagen ago | 0

Answered

max of two arrays one being empty returns the empty array

This is the way that max() is defined: the maximum of an empty array is an empty array. A=[]; B=[5]; max(A,B) max(B,A) Howev...

max of two arrays one being empty returns the empty array

This is the way that max() is defined: the maximum of an empty array is an empty array. A=[]; B=[5]; max(A,B) max(B,A) Howev...

15 dagen ago | 0

Answered

Hello, I am working on a matlab code for school and it is using a while loop. The problem with this is I want the while loop to run until the variable doesn't equal itself.

while R ~= R That R ~= R will only be true if R is NaN. I want the while loop to run until the variable doesn't equal itself. ...

Hello, I am working on a matlab code for school and it is using a while loop. The problem with this is I want the while loop to run until the variable doesn't equal itself.

while R ~= R That R ~= R will only be true if R is NaN. I want the while loop to run until the variable doesn't equal itself. ...

15 dagen ago | 0

Answered

I had problem using "readtable" on my matlab

which -all readtable will very likely show that you have a third-party readtable.m that is interfering with the Mathworks' func...

I had problem using "readtable" on my matlab

which -all readtable will very likely show that you have a third-party readtable.m that is interfering with the Mathworks' func...

15 dagen ago | 0

Answered

Steepest descents methods algoritme for higher dimensional objective functions

fminsearch() uses simplex algorithm, not Steepest Descent. One implementation of Steepest Descent is https://www.mathworks.com/...

Steepest descents methods algoritme for higher dimensional objective functions

fminsearch() uses simplex algorithm, not Steepest Descent. One implementation of Steepest Descent is https://www.mathworks.com/...

15 dagen ago | 0

Answered

Saving Money on Yearly Software Maintenance Service Subscription

You would not save any money. When you renew your SMS, you are required to pay any payments that you might have missed. Histor...

Saving Money on Yearly Software Maintenance Service Subscription

You would not save any money. When you renew your SMS, you are required to pay any payments that you might have missed. Histor...

16 dagen ago | 0

Answered

fplot behavior at breakpoints

You can increase the likelyhood of the line being shown if you increase the MeshDensity . However, you should expect it to miss ...

fplot behavior at breakpoints

You can increase the likelyhood of the line being shown if you increase the MeshDensity . However, you should expect it to miss ...

17 dagen ago | 0

Answered

finding altitude using matlab atmosisa given pressure

You use the equation given in https://en.wikipedia.org/wiki/Pressure_altitude Make sure you convert pascal to millibars .

finding altitude using matlab atmosisa given pressure

You use the equation given in https://en.wikipedia.org/wiki/Pressure_altitude Make sure you convert pascal to millibars .

17 dagen ago | 0

Answered

I'm working with EEGlab and I need to create a bin structure for detecting codes in mu dataset. The probleme is that it doesn't recognize the following function "bin_info2EEG?

bin_info2EEG appears to be part of matlabmk http://kutaslab.ucsd.edu/matlabmk_fn_docs/matlabmk/index.html

I'm working with EEGlab and I need to create a bin structure for detecting codes in mu dataset. The probleme is that it doesn't recognize the following function "bin_info2EEG?

bin_info2EEG appears to be part of matlabmk http://kutaslab.ucsd.edu/matlabmk_fn_docs/matlabmk/index.html

17 dagen ago | 0

| accepted

Answered

finding variable of a given equation

Q = @(v) sym(v); AonAstar = Q(16); gamma = Q(1.22); syms b eqn = AonAstar == ((b)^(1/gamma)*(1-(b)^((gamma-1)/gamma))^(1/2))...

finding variable of a given equation

Q = @(v) sym(v); AonAstar = Q(16); gamma = Q(1.22); syms b eqn = AonAstar == ((b)^(1/gamma)*(1-(b)^((gamma-1)/gamma))^(1/2))...

17 dagen ago | 0

| accepted

Answered

call callback function in my code

You will need to set the Access attribute of the method definition to permit your code to call the method. https://www.mathworks...

call callback function in my code

You will need to set the Access attribute of the method definition to permit your code to call the method. https://www.mathworks...

17 dagen ago | 0

| accepted

Answered

make the execution faster

Is it possible to reduce the execution time by vectorizing the for loop? for i=1:length(t)-1 k1=func(x(:, i)); k2=fu...

make the execution faster

Is it possible to reduce the execution time by vectorizing the for loop? for i=1:length(t)-1 k1=func(x(:, i)); k2=fu...

17 dagen ago | 0

Answered

I need help with my code for a degree in IT

function out = getPosition(obj) function setPosition(obj, p) function out = getTreat(obj) ...

I need help with my code for a degree in IT

function out = getPosition(obj) function setPosition(obj, p) function out = getTreat(obj) ...

17 dagen ago | 0

Answered

Warning: The next image file directory at byte position 944016033 is at or beyond the end of the file.

The file is corrupt. 200 images can be read from it. It also generates warnings, Warning: TIFF library warning - 'TIFFReadDi...

Warning: The next image file directory at byte position 944016033 is at or beyond the end of the file.

The file is corrupt. 200 images can be read from it. It also generates warnings, Warning: TIFF library warning - 'TIFFReadDi...

18 dagen ago | 0

Answered

How do I insert a toolbox in matlab online editor?

First off: MATLAB Online does not support all toolboxes, and has restrictions on some of the toolboxes. That said: if you login...

How do I insert a toolbox in matlab online editor?

First off: MATLAB Online does not support all toolboxes, and has restrictions on some of the toolboxes. That said: if you login...

19 dagen ago | 0