Réponse apportée
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 ...

environ 2 ans il y a | 0

| A accepté

Réponse apportée
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...

environ 2 ans il y a | 0

Réponse apportée
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...

environ 2 ans il y a | 0

Réponse apportée
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...

environ 2 ans il y a | 1

Réponse apportée
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...

environ 2 ans il y a | 0

Réponse apportée
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...

environ 2 ans il y a | 0

| A accepté

Réponse apportée
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.

environ 2 ans il y a | 0

Réponse apportée
Hamming Code Encode Error
comm.HammingEncoder is old MATLAB (some point before R2019a). See https://www.mathworks.com/help/comm/ref/encode.html

environ 2 ans il y a | 0

| A accepté

Réponse apportée
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...

environ 2 ans il y a | 0

| A accepté

Réponse apportée
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) ...

environ 2 ans il y a | 1

| A accepté

Réponse apportée
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...

environ 2 ans il y a | 0

| A accepté

Réponse apportée
Highlighted numbers in Matlab
For output to the command window, see https://www.mathworks.com/matlabcentral/fileexchange/24093-cprintf-display-formatted-color...

environ 2 ans il y a | 1

Réponse apportée
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...

environ 2 ans il y a | 0

Réponse apportée
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...

environ 2 ans il y a | 0

Réponse apportée
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...

environ 2 ans il y a | 0

Réponse apportée
Input Argument Validation Issue
diagramType (1,:) {mustBeMember(diagramType,["Flow Rate", "Velocity"])} = "Flow Rate"; You were using a cell array of string; y...

environ 2 ans il y a | 0

| A accepté

Réponse apportée
dictionary() question: "Error: Output argument not assigned a value in the execution with 'x' function" - works with some inputs and not others even though code is identical.
ref = dictionary(... % creates dictionary called ref [1 2 3 4 5 6 7 8 9 10 11 12 13 14],... % keys ["cels2far" "fahr2c...

environ 2 ans il y a | 0

Réponse apportée
how to plot contour for arbitrary shape (not rectangular) in matlab?
Use a rectangular array of Z, but set it to NaN outside of the area of interest.

environ 2 ans il y a | 1

Réponse apportée
I need the installer for Matlab R2010b SP1
Visit https://www.mathworks.com/downloads/ In the top left, use the Select Release dropbox to select R2010bSP1 . That will tak...

environ 2 ans il y a | 0

Réponse apportée
Unable to plot the two for loops together.
The two functions differ by 40 at every location. 40 is much less than the value of the function, which goes up to 5 x 10^10. A...

environ 2 ans il y a | 1

| A accepté

Réponse apportée
How to find the distance between two points along a curve?
Use https://www.mathworks.com/matlabcentral/fileexchange/34871-arclength

environ 2 ans il y a | 0

Réponse apportée
How to create variable length buffer in Simulink for holding the value with unknown dimensions ?
You are going to have trouble with that approach unless you use dynamic memory allocation. Better is to set a maximum length be...

environ 2 ans il y a | 0

Réponse apportée
How to write the sum of several matrices in Matlab ?
syms c N num_i = 3; %adjust as needed num_j = 4; %adjust as needed num_n = 10; syms x [num_i 1] syms y [1 num_j...

environ 2 ans il y a | 0

Réponse apportée
what am i doing wrong?
size(a(:,i)) is a vector of length 2. You should use size(a,1)

environ 2 ans il y a | 0

Réponse apportée
Error Using horzcat in MATLAB
parityMatrix = [1 1 1 0 1 0 0; 1 1 0 1 0 1 0; 1 0 1 1 0 0 1]; parityMatrix is 3 x 7 generatorMatrix = [eye(4) parityMatrix']; ...

environ 2 ans il y a | 0

| A accepté

Réponse apportée
Why do I get an error using estimate for an msVAR model?
By default, Y0 is the initial portion of Y (which is your Data). If your Y (Data) is sufficiently small, then Y0 might potenti...

environ 2 ans il y a | 0

Réponse apportée
Error trying to start Simulink from m-file.
It sounds as if the block diagram 'Gelenkmodell' is configured with an InitFcn that invokes Reibkennlinie_festlegen but that Re...

environ 2 ans il y a | 0

Réponse apportée
Please assist to resolve "magaa and mag2a" codes problems; probably FUN and fsolve, not properly sets. The mag2 has to generate 12 (Qy-variable) questions by for-end. Thanks
function [Qy, FUN] = MAGa(Qy0) tic, n=12; pipes=n; dia=n; LP=4; cCc=7; HLD=-0; ee=0.04; vs=1.00001*10^-6; ...

environ 2 ans il y a | 0

| A accepté

Réponse apportée
I keep getting a “cannot convert double value “…” to a handle. Does anybody know how I can fix my code in order for this to go away
Historically, up to R2014a, it was the case that graphics handles were returned as double precision numbers. This allowed constr...

environ 2 ans il y a | 0

Réponse apportée
How to use integral when limits are anonymous functions
Your problem is unsolvable (in the form stated) You cannot use integral() with symbolic limits: integral() is strictly a numeri...

environ 2 ans il y a | 0

| A accepté

Charger plus