Answered
how change order color legend?
If you're using release R2023b or later, there's a new legend property introduced in R2023b that may be of interest to you. Chan...

2 years ago | 0

Answered
Moving skewness/kurtosis/rms/autocorrelation for time series. Fast Implementation.
Currently MATLAB does not have any functions for computing the moving skewness, kurtosis, rms, or autocorrelation. For a list of...

2 years ago | 0

Answered
How to take a value between two values
If you hover over the underlined <= operators in the code in the MATLAB Editor, you will see a Code Analyzer message explaining ...

2 years ago | 0

Answered
When is the official release for MATLAB for Silicon Macs?
It is currently: datetime('now', TimeZone="local", Format = "dd-MMM-yyyy hh:mm:ss a z") and the Release Notes indicate that re...

2 years ago | 0

Answered
lambr0 and zeta0 outputting 1x1 answer when I want them to output 1x7 answer, any suggestions?
In addition to using element-wise power (the .^ operator) and element-wise multiplication (the .* operator) you need to use the ...

2 years ago | 0

Answered
Matlab Service request and bug inaccessible
I don't see any outages listed on the Application Status page. When I tried connecting via Microsoft Edge I was able to access t...

2 years ago | 0

| accepted

Answered
standard deviation takes for ever
Can you confirm you're using the std function included in MATLAB? What does this command show? which -all std

2 years ago | 0

Answered
Convert the contents of C:\WINDOWSSYSTEM32\cmc into a text file and open in Matlab
I'm guessing your actual question is not about decompiling one of the executables included with Microsoft Windows into its sourc...

2 years ago | 1

Answered
transform exponential number to decimal
Use a different format specifier. The second column of your data doesn't contain integer values, so using %d for that column is ...

2 years ago | 1

Answered
how to get the correct plot of function sin(N+1)*pi*x^2/sin(pi*x)^2 with different N
To eliminate the effect of the floating point approximation to , try using sinpi instead of sin. % Define the value of N forma...

2 years ago | 1

Answered
Live script 'edit field' control option not available
The ability to add an edit field Live Editor Control was added in release R2019a. You will need to upgrade to that release or la...

2 years ago | 0

Answered
how to visualize histogram with Datatime on Axis
You can call histogram with datetime data as the data to be binned. Let's make some random data for the first half of today to u...

2 years ago | 0

Answered
How to load an object of class 'sym' in a .mat file
Do you have Symbolic Math Toolbox installed? If you don't, you won't be able to load sym objects created with the sym or syms fu...

2 years ago | 0

Answered
If statements vs conditions
Esim4=Esim4.*(Esim4>=0); % make sure the difference is never below zero I likely would just call the max function on Esim4 ins...

2 years ago | 0

Answered
How to obtain curve fitting tool startpoints using code? Replicate Curve Fitter Toolbox
Under certain circumstances (when the Method is NonlinearLeastSquares and you're using certain library models) MATLAB uses heuri...

2 years ago | 0

Answered
What is the difference between 'Property Get and Set Methods' and the 'set' function?
"If 'set(h, 'PropertyName', PropertyValue);' and 'h.PropertyName = PropertyValue;' are equivalent, then we don't really need the...

2 years ago | 1

Answered
'helperModClassGetNNFrames' is used in Modulation Classification with Deep Learning. Error in Project_1 (line 41) unknownFrames = helperModClassGetNNFrames(rx);
This function is a helper function used and defined by the example. It is not a general toolbox function that is on the MATLAB s...

2 years ago | 0

Answered
How to build a structure that is easier to work with (i.e. for looping through and adding to)
I'd probably store this either as a timetable (with the date and time data stored as the RowTimes, and as many data variables as...

2 years ago | 0

Answered
Timer Callback Input Not Updated When Changed
The timer outputs the initial message correctly but when the variable message changes further down the code, the timer keeps pri...

2 years ago | 2

| accepted

Answered
Matalab on VDI environment
Please send this licensing question to Customer Service directly as a Service Request using this link.

2 years ago | 0

Answered
Needing 'clear all' type function, except a few variables. clearvars -except isn't aggressive enough
From your description I'm guessing the third party toolkit is written using a lot of script files rather than functions or class...

2 years ago | 0

Answered
How can I access the properties of A class in B class without creating objects?
Therefore, is there a way to get the properties ‘Prop1’ of PropertyAccess in ClassA without creating objects If Prop1 were a Co...

2 years ago | 2

| accepted

Answered
How can I turn off fminsearch's exiting complaints?
Creating an options structure alone is not sufficient to make fminsearch use the modified value of the Display option. It doesn'...

2 years ago | 0

Answered
Calling a function in itself.
It is possible to recursively call a function in MATLAB (within reason, there is a recursion limit in MATLAB to try to prevent y...

2 years ago | 1

Answered
I set the username incorrectly and now I get an error when opening the app
Please follow the instructions in the "Why do I receive license manager error -9?" post.

2 years ago | 0

Answered
Connecting two incompatible blocks together
You're using the Resistor block from Simscape? I'm not 100% certain but I believe you're going to need to use a converter block ...

2 years ago | 0

Answered
Will Matlab R2021a run on macOS Ventura?
On the System Requirements page, if you select "Previous Releases" and look at the requirements for release R2021a on Mac the su...

2 years ago | 0

Answered
I have an error in my program. the error is about 'Error using letter_detection (line 4) Not enough input arguments.' using Matlab R2015A and I named the file letter_detection
If you call this by just typing the name at the Command Prompt or by using the green triangle in the Editor, how should MATLAB k...

2 years ago | 0

Answered
Error message: i dont have a valid license file
If you're trying to use your educational institution's license, you should contact whoever at your educational institution manag...

2 years ago | 0

Answered
Low precision of floats?
Don't call vpa first. Perform the calculation symbolically then use vpa on the result. onePointFive = sym(3/2) y = psi(onePoin...

2 years ago | 1

Load more