Respondida
Symbolic eigenvectors returned by eig are incorrect
clc; clear; % Define variables syms U R T E Gamma Ma % Define Jacobian A = [0, 0, R, 0, 0; 0, 0, R*U, 0, 0; T/(Gamma*Ma^...

alrededor de 3 años hace | 1

| aceptada

Respondida
MATLAB R2013b
Apple Silicon-based Macs do not satisfy the system requirements for release R2013b on Mac. If you made a typo and were asking a...

alrededor de 3 años hace | 0

Respondida
Why simulink online cannot run my slx file? is this normal for all users?
Are you using blocks from a third-party blockset or from a blockset not supported for use with Simulink Online?

alrededor de 3 años hace | 0

| aceptada

Respondida
Make a Truth Table
See the islocalmax function.

alrededor de 3 años hace | 0

Respondida
Getting an error using theta
Rhsprob=@ (t,U)[U(2),-32.17/2*sin(theta )] Nowhere in the code you posted before this line do you define a variable named theta...

alrededor de 3 años hace | 0

Respondida
Overlaying Surface and Vector Plot
Let me add one more command to the code you posted. a=10; [X,Y]=meshgrid(-1:0.1:1,-1:0.1:1); U=a.*X.*(X.^2 + Y.^2).^(-(3/2));...

alrededor de 3 años hace | 1

Respondida
How can we access individual edges in a Graph ?
I'd be careful asking for say "edge 8" because graph and digraph reserve the right to reorder the edges array if you insert or d...

alrededor de 3 años hace | 1

| aceptada

Respondida
How to compute total links in a Graph?
There are many functions you can call on graph objects, including the numedges function.

alrededor de 3 años hace | 0

| aceptada

Respondida
First number in foor loop
Don't hard code the first number. Store it in a variable that you can use to define the loop and then to retrieve the starting v...

alrededor de 3 años hace | 0

Respondida
Error in interp1 (line 188). VqLite = matlab.internal.math.interp1(X,V,method,method,Xqcol);
So that error is coming from the second of these lines (commented out so that later lines in this answer can run.) % inc=find(~...

alrededor de 3 años hace | 0

| aceptada

Respondida
how to install Deep Learning Toolbox in MATLAB Runtime
The MATLAB Runtime is not a way to run arbitrary MATLAB code for free. It is used to run applications created by MATLAB Compiler...

alrededor de 3 años hace | 0

Respondida
output of two function results
In order to return multiple outputs from a function you need to do two things. Define the function to return two or more output...

alrededor de 3 años hace | 1

Respondida
Error in fminunc function line 477
Let's check that you haven't written or downloaded a file that's conflicting with a function provided by MATLAB. What do the fol...

alrededor de 3 años hace | 0

Respondida
r2023a offline update wont find install root folder
Try wrapping the directory name in double quotes. j:\r2023a update package\bin\win64\mathworksupdateinstaller.exe --destination...

alrededor de 3 años hace | 0

| aceptada

Respondida
Compiled matlab function does not recognize 'predict' function from the statistics and machine learning toolbox
How are you creating or obtaining the first input you pass to predict? My suspicion is that you're loading an object from a MAT-...

alrededor de 3 años hace | 0

Respondida
builded function converts from polar to rectangular
If this is not a homework assignment use the pol2cart function. If this is a homework assignment show us the code you've writte...

alrededor de 3 años hace | 0

Respondida
Set a variable equal to the string of the corresponding season.
BD = (1:12).'; whichMonth = discretize(BD, ... [1 3 6 9 12 12], ... 'categorical', ... ["Winter", "Spring", "Sum...

alrededor de 3 años hace | 1

Respondida
'invaudfilt' function to be found?
I find no function by that name in any MathWorks product. Nor does Google find any hits for "MATLAB invaudfilt" after I tell it ...

alrededor de 3 años hace | 0

Respondida
Displaying fit function on the plot
We can use some of the methods of the object returned by fit to get the pieces we need to display it. x = (1:10).'; y = x.^2 +...

alrededor de 3 años hace | 1

Respondida
Unable to run a simple 'fsolve' example.
My guess is that you accidentally added the toolbox/optim/eml directory under matlabroot to the MATLAB search path. If it is on ...

alrededor de 3 años hace | 0

| aceptada

Respondida
R2014a Error Box Too many input arguments Always Appearing - Buggy.
You likely have a different fliplr.m on the MATLAB search path that's preventing MATLAB from calling the version included in MAT...

alrededor de 3 años hace | 0

Respondida
Can anyone duplicate my matlab crash?
I'm not certain but it sounds like this may be Bug Report 1076354. One test you could do would be to transpose your array and ta...

alrededor de 3 años hace | 1

| aceptada

Respondida
ctrl+d does not work for methods
The problem is simple to state but quite a bit more complicated than you might expect. If you were to highlight the method name ...

alrededor de 3 años hace | 1

Respondida
Error calculating mean when variable inputs are decimals between 0 and 1
The first input to the mean function is the data whose mean you want to compute. The second input, if it is numeric, is the dime...

alrededor de 3 años hace | 1

| aceptada

Respondida
How to solve the error while solving the given equation by ode45 or ode15s?
There are several problems with this code. clear all; clc; These two lines are unnecessary. Often people put them in because ...

alrededor de 3 años hace | 0

Respondida
x=max(M,[ ],2). Iam not understanding this part of the code.
See the section of the documentation page for the max function that describes the dim input argument. The two pictures there sho...

alrededor de 3 años hace | 0

| aceptada

Respondida
Removing characters from a datetime format to make it recognizable to MATLAB
You can include literal characters in the InputFormat argument of a call to datetime. See the "Date and Time from Text with Lite...

más de 3 años hace | 1

Respondida
How to evenly space the y-axis from 1 to 10^-3?
Do you want a logarithmic Y axis? If so use semilogy or loglog (if you want both axes in log scale) instead of plot. Alternately...

más de 3 años hace | 1

Respondida
How to fix equation code error
nu = 1.5e-5; ya = 9.7; k = 0.41; y = 2.3025e-03; uT = (k.*rho.*nu).*((y.*ustar/nu) - ya.*tanh(y.*ustar/nu.*ya)) Nowhere ...

más de 3 años hace | 0

Respondida
Creating the MATLAB Logo - Updated
How does what you want differ from the figure created by the logo function? logo

más de 3 años hace | 0

Cargar más