Answered
Genatic Algorithm input and output in vector form
https://www.mathworks.com/help/gads/ga.html#bs08mt7-1_sep_budidgf-fun Write the objective function to accept a row vector of l...

3 years ago | 0

| accepted

Answered
Class methods in "private" subfolder
access = private for a property means "The property can be accessed only by members of the defining class." (and not by members ...

3 years ago | 0

| accepted

Answered
How can I tell codegen the argument type is double?
https://www.mathworks.com/help/coder/ug/mapping-matlab-types-to-cc-types.html real_T is double by default. Is it a problem for...

3 years ago | 1

| accepted

Answered
Why wont the state-space block accept a mux input?
A mux is not the same thing as a vector of values. If you need to build a vector of values use https://www.mathworks.com/help/si...

3 years ago | 0

Answered
What is the uiimport asynchronous syntax?
https://www.mathworks.com/matlabcentral/answers/75340-xlsread-uiimport-error-at-238 hints that the issue might possibly relate t...

3 years ago | 0

Answered
Matlab Code to Python Code
You are asking for a tool that will convert arbitrary MATLAB code to Python code, including toolboxes that Mathworks implemented...

3 years ago | 1

Answered
how to create .Mat file from scratch
In the designer use writeFIS to create a fis file. Do this ahead of time in a separate session. In the Fuzzy Logic Controller b...

3 years ago | 0

| accepted

Answered
How can I calculate the mean intensity gradient of an image?
call gradient() twice specifying different directions. calculate the sqrt of the sum of squares (use .^2 for vectorized calculat...

3 years ago | 1

| accepted

Answered
how to solv this issue?
there is no savefunc() built into matlab or any of the toolboxes or any of the file exchange contributions. Your task is create ...

3 years ago | 0

Answered
operation error (red,green,blue)
r(:, :, 2) = 0;

3 years ago | 0

Answered
How to reduce its execution time and why the value of e is a column vector?
you are taking the mean over the second dimension of a column vector (which has a second dimension of length 1)

3 years ago | 1

| accepted

Answered
Have been trying many time by updating the licenses still got Error.
Do not activate against root and do not sudo to run matlab. Activate against the user name lee. You can, if you need to, sudo th...

3 years ago | 0

Answered
How to handle mupadmex error?
Do not define the functions that way. The symbolic toolbox does not define a result for multiplying a symbolic expression by a l...

3 years ago | 0

Answered
Waveform Pattern detection in MATLAB
Realistically... No. Your pattern involves multiple peaks in a short space. It looks to me as if the pattern involves the sum...

3 years ago | 0

Answered
How do I remove old installations in broken down computers?
You might need to use the steps in https://www.mathworks.com/matlabcentral/answers/99859-how-can-i-deactivate-matlab-on-a-machin...

3 years ago | 0

Answered
Simulation of a catalyst reactor with Impact of heat & mass transfer
clc, clear, close all %Process data P = 5; %[bar] Tb0 = 850 + 273.15; %[K] Tint0=Tb0; Rg=8.31447; rho...

3 years ago | 0

Answered
Error using sym/cat>checkDimensions CAT arguments dimensions not consistent.
syms l11 l12 l13 syms l21 l22 l23 syms l31 l32 l33 syms l41 l42 l43 syms v11 v12 v13 syms v21 v22 v23 syms C1 C2 eq1 = [l...

3 years ago | 0

Answered
Please help me write this summation in MATLAB
n_term = 50/2; syms n N k integer syms x inner = symsum(1/(2*k+1), k, 0, floor((n-1)/2)) outer = (-1)^(n-1)*x^n/factorial(n)...

3 years ago | 1

| accepted

Answered
Error pop_editset: cannot read.mat file
You are using eeglab such as https://github.com/NBT-Analytics/EEGLABSVN/blob/master/functions/popfunc/pop_editset.m You app...

3 years ago | 0

Answered
relocate .matlab directory in my home
https://www.mathworks.com/matlabcentral/answers/93696-how-do-i-change-the-matlab-preferences-directory-location contains instruc...

3 years ago | 0

Answered
How i can write % for each line in a txt file
fin = fileread('oc449.txt'); fout = regexprep(fin, '^', '%', 'lineanchors') ; fid = fopen('Coc449.txt','w'); fwrite(f...

3 years ago | 0

Answered
why do I get "Array indices must be positive integers or logical values"
Dstd(D) is requesting to index the vector Dstd by the array D Remember MATLAB has absolutely *no* implied multiplication. ...

3 years ago | 0

Answered
how to solve this type of problem, for line 44 y=y1+y2 ,it shows me incompatible error
x, h1, h2, h3 are the same length, 10001 w is conv(x, h2) so it is length 20001 y1 is conv(x, h1) so it is length 20001 ...

3 years ago | 0

Answered
Can I use multiple values for lb and ub in fmincon?
erf(sqrt(bvalues(b).*(par - perp))) erf requires its inputs to be real-valued. The result of a sqrt() will not be real-valued...

3 years ago | 0

Answered
I HAVE THE FOLLOWING ERROR: "Error using bvparguments" HELP ME TO FIX IT
you do not initialize your global variables, so some of your calculations return empty

3 years ago | 0

Answered
I am confused by the error: "Error evaluating inline model function"
When you use inline() the expression is evaluated in the base workspace. Any function mentioned must be resolved from the base w...

3 years ago | 0

| accepted

Answered
How to Resume Matlab download
Rerun the installation executable. It will detect any package that has been fully downloaded and skip downloading it again. H...

3 years ago | 0

Answered
Why am I receiving this error?
In between the n and the ( you have unicode character decimal 8289, which is known as "Function Application". It is an invisible...

3 years ago | 0

Answered
incorrect number or types of inputs or outputs for function 'int'
syms x y result = int(exp(-x-y),y,0,inf)

3 years ago | 0

Answered
result in table format or excel format
You have fixed-width columns. Use array indexing: topic = string(cmdout(5:end, 1:22)); received = double(string(cmdout(5:end, ...

3 years ago | 0

Load more