Beantwortet

error using saveas in fig format

Notice the error is shown as being on line 14 of savefig Line 14 of the Mathworks supplied savefig gor R2022b is % savefig(H,...

error using saveas in fig format

Notice the error is shown as being on line 14 of savefig Line 14 of the Mathworks supplied savefig gor R2022b is % savefig(H,...

17 Tage vor | 0

| akzeptiert

Beantwortet

Why can't polyshape.union() consolidate neighboring polygons?

polyshapes contains oriented polygons. A polyshape with its vertices backwards is considered to be reverse direction. This is ...

Why can't polyshape.union() consolidate neighboring polygons?

polyshapes contains oriented polygons. A polyshape with its vertices backwards is considered to be reverse direction. This is ...

17 Tage vor | 0

Beantwortet

Input folders or files contain non-standard file extensions.

TrainingSet/English contains no files with standard audio file extensions. You need to change ads = audioDatastore...

Input folders or files contain non-standard file extensions.

TrainingSet/English contains no files with standard audio file extensions. You need to change ads = audioDatastore...

17 Tage vor | 1

Beantwortet

How to choose one between two constraint conditions

prob.Constraints.con1=x<=10 or prob.Constraints.con1=x^2<=10 You have a lower bound of 0 on x. Under the conditions, x^2<=10 is...

How to choose one between two constraint conditions

prob.Constraints.con1=x<=10 or prob.Constraints.con1=x^2<=10 You have a lower bound of 0 on x. Under the conditions, x^2<=10 is...

17 Tage vor | 1

Beantwortet

Anyone know how to create/ declare arrays, structer in simulink?

You can use MATLAB Function Blocks. Or for structs, you can construct Simulink Bus objects; https://www.mathworks.com/help/simu...

Anyone know how to create/ declare arrays, structer in simulink?

You can use MATLAB Function Blocks. Or for structs, you can construct Simulink Bus objects; https://www.mathworks.com/help/simu...

17 Tage vor | 0

Beantwortet

How to simplify one expression without Negative(-) mark

MATLAB Symbolic Toolbox automatically re-arranges expressions into "canonical form" in order to make it simpler to share parts o...

How to simplify one expression without Negative(-) mark

MATLAB Symbolic Toolbox automatically re-arranges expressions into "canonical form" in order to make it simpler to share parts o...

19 Tage vor | 2

| akzeptiert

Beantwortet

Generate code for Mac using MATLAB Coder running on Windows?

That is not a supported toolchain (I don't know if it would be possible to get it to work.)

Generate code for Mac using MATLAB Coder running on Windows?

That is not a supported toolchain (I don't know if it would be possible to get it to work.)

19 Tage vor | 1

Beantwortet

Indexing through arrray in simulink with a for iterator

The output of From Workspace is a sampled signal, sampled at the current time. The output of From Workspace is *not* an array (u...

Indexing through arrray in simulink with a for iterator

The output of From Workspace is a sampled signal, sampled at the current time. The output of From Workspace is *not* an array (u...

19 Tage vor | 0

Beantwortet

Check input is a string or Char if so reprompt

a = input("Please enter a number: "); %Takes user input for number that is to be converted while ~isnumeric(a) || numel(a) ~= 1...

Check input is a string or Char if so reprompt

a = input("Please enter a number: "); %Takes user input for number that is to be converted while ~isnumeric(a) || numel(a) ~= 1...

20 Tage vor | 0

Beantwortet

Error when using if-else statement in MATLAB function block. How can I fix this error described below?

m = (k_f*(0.5*(((g*beta*q_w*x^4)/(nu_novec*alpha_novec*k_m))*(((d_pore^2)*psi^3/(180*(1-psi^2)))/x^2))^(0.4)))/(x); 1 2...

Error when using if-else statement in MATLAB function block. How can I fix this error described below?

m = (k_f*(0.5*(((g*beta*q_w*x^4)/(nu_novec*alpha_novec*k_m))*(((d_pore^2)*psi^3/(180*(1-psi^2)))/x^2))^(0.4)))/(x); 1 2...

20 Tage vor | 0

Beantwortet

How to vectorize this nested for loop?

ind = sub2ind(size(image), yd, xd, 1); imageCylindrical(:,:,1) = image(ind + 0 * ydim*xdim); imageCylindrical(:,:,2) = image...

How to vectorize this nested for loop?

ind = sub2ind(size(image), yd, xd, 1); imageCylindrical(:,:,1) = image(ind + 0 * ydim*xdim); imageCylindrical(:,:,2) = image...

21 Tage vor | 0

| akzeptiert

Beantwortet

cell2table not working!

The first 18 results of spdfcdfread() are 21600 x 1 (of various numeric data types) Then you have a 21600x3 followed by two 216...

cell2table not working!

The first 18 results of spdfcdfread() are 21600 x 1 (of various numeric data types) Then you have a 21600x3 followed by two 216...

21 Tage vor | 0

Beantwortet

I am getting "Unable to resolve the name 'CNN.parse'" error. when I am trying to produce results of CAV_2020 Image star. I installed computer vision and deep learning tool box

MATLAB does not have any function or package named CNN . It appears that you are expecting CNN to be loaded as part of Small_Co...

I am getting "Unable to resolve the name 'CNN.parse'" error. when I am trying to produce results of CAV_2020 Image star. I installed computer vision and deep learning tool box

MATLAB does not have any function or package named CNN . It appears that you are expecting CNN to be loaded as part of Small_Co...

21 Tage vor | 0

Beantwortet

Vector with symbolic variable

Your time vector contains at least one value that has a fraction or is not a positive value. For example, your time vector migh...

Vector with symbolic variable

Your time vector contains at least one value that has a fraction or is not a positive value. For example, your time vector migh...

21 Tage vor | 1

Beantwortet

Line in Matlab plot do not appear

Your exp() results in extremely small values, so you are getting NaN Q = @(v) sym(v); Nv = Q(1e23); %guess to run the pro...

Line in Matlab plot do not appear

Your exp() results in extremely small values, so you are getting NaN Q = @(v) sym(v); Nv = Q(1e23); %guess to run the pro...

21 Tage vor | 1

| akzeptiert

Beantwortet

How can I solve the error of too many input arguments in fuzzy logic toolbox?

Currently, in MATLAB, the command fuzzy invokes a fuzzy logic designer. The actual code on page 397 does not invoke fuzzy: the ...

How can I solve the error of too many input arguments in fuzzy logic toolbox?

Currently, in MATLAB, the command fuzzy invokes a fuzzy logic designer. The actual code on page 397 does not invoke fuzzy: the ...

22 Tage vor | 0

| akzeptiert

Beantwortet

Error with matrix calculation

When you use the / (matrix right divide) operator, the two operands must have the same number of columns. The resulting matrix w...

Error with matrix calculation

When you use the / (matrix right divide) operator, the two operands must have the same number of columns. The resulting matrix w...

22 Tage vor | 0

Beantwortet

how to resolve that error?

You assign to DeltaV You compare your values to TargetDeltaV You do not use the value of DeltaV anywhere. You do not define Ta...

how to resolve that error?

You assign to DeltaV You compare your values to TargetDeltaV You do not use the value of DeltaV anywhere. You do not define Ta...

22 Tage vor | 0

Beantwortet

Why is there an error in the calculation of 366.0/5.0?

By default, MATLAB calculates using IEEE 754 Double Precision representation of numbers. IEEE 754 is a binary floating point rep...

Why is there an error in the calculation of 366.0/5.0?

By default, MATLAB calculates using IEEE 754 Double Precision representation of numbers. IEEE 754 is a binary floating point rep...

24 Tage vor | 1

Beantwortet

Why do I keep getting the same error?

function ProbEDO(tau,T) deltaepsilon=1/(N-1); theta(1:N)=0; theta(2:N-1)=T; theta(1)=[4*theta(2)-theta(3)]/3; theta(N)=(4*t...

Why do I keep getting the same error?

function ProbEDO(tau,T) deltaepsilon=1/(N-1); theta(1:N)=0; theta(2:N-1)=T; theta(1)=[4*theta(2)-theta(3)]/3; theta(N)=(4*t...

24 Tage vor | 0

Beantwortet

Can i use the student license as master of science student?

You can use a MATLAB Student license for any research and publication that is directly required for your degree. If the two the...

Can i use the student license as master of science student?

You can use a MATLAB Student license for any research and publication that is directly required for your degree. If the two the...

25 Tage vor | 0

| akzeptiert

Beantwortet

Is it possible to change color of executed codes for easily identify dead codes

There is no coloration, but the editor throws up a warning for unreachable code.

Is it possible to change color of executed codes for easily identify dead codes

There is no coloration, but the editor throws up a warning for unreachable code.

25 Tage vor | 0

Beantwortet

Hamming Code Encode Error

comm.HammingEncoder is old MATLAB (some point before R2019a). See https://www.mathworks.com/help/comm/ref/encode.html

Hamming Code Encode Error

comm.HammingEncoder is old MATLAB (some point before R2019a). See https://www.mathworks.com/help/comm/ref/encode.html

25 Tage vor | 0

| akzeptiert

Beantwortet

I want to use a backgroudpool to open a class

variables that are class members are modeled to be received in the parfeval() as if they were save() and load() If your class c...

I want to use a backgroudpool to open a class

variables that are class members are modeled to be received in the parfeval() as if they were save() and load() If your class c...

25 Tage vor | 0

Beantwortet

Parfor+for+if+if How to calculate variable form last if

b = []; parfor i = 1:n bt = []; for j=1:m if some_condition(i) if some_condition(i) ...

Parfor+for+if+if How to calculate variable form last if

b = []; parfor i = 1:n bt = []; for j=1:m if some_condition(i) if some_condition(i) ...

25 Tage vor | 1

| akzeptiert

Beantwortet

triple nested integral with error "Arrays have incompatible sizes for this operation."

Each call to integral supplies a vector of values to the function to be called. The vector of values is inherently of inconsiste...

triple nested integral with error "Arrays have incompatible sizes for this operation."

Each call to integral supplies a vector of values to the function to be called. The vector of values is inherently of inconsiste...

25 Tage vor | 0

| akzeptiert

Beantwortet

Highlighted numbers in Matlab

For output to the command window, see https://www.mathworks.com/matlabcentral/fileexchange/24093-cprintf-display-formatted-color...

Highlighted numbers in Matlab

For output to the command window, see https://www.mathworks.com/matlabcentral/fileexchange/24093-cprintf-display-formatted-color...

25 Tage vor | 1

Beantwortet

I tried this code but it gives me an error

u=[30 70];% The two Angles Those look like degrees AF(m)=sum(exp(-1i*k*a*(cos(u(sourceNo)-phi_n)))); But there you are treati...

I tried this code but it gives me an error

u=[30 70];% The two Angles Those look like degrees AF(m)=sum(exp(-1i*k*a*(cos(u(sourceNo)-phi_n)))); But there you are treati...

25 Tage vor | 0

Beantwortet

Why do I receive License Manager Error -9?

First delete /home/hta/.matlab/R2024a_licences/* /usr/local/MATLAB/R2024a/licenses/license.dat /user/local/MATLAB/R2024a/lice...

Why do I receive License Manager Error -9?

First delete /home/hta/.matlab/R2024a_licences/* /usr/local/MATLAB/R2024a/licenses/license.dat /user/local/MATLAB/R2024a/lice...

26 Tage vor | 0

Beantwortet

big problem with matlab and simulink

restoredefaultpath; savepath This will get rid of the warning messages. You are using a matlab path that is relevant to having...

big problem with matlab and simulink

restoredefaultpath; savepath This will get rid of the warning messages. You are using a matlab path that is relevant to having...

26 Tage vor | 0