Answered
How do I sort the boxes produced by "boxchart" by mean?
The "boxchart" function currently does not provide builtin support for this use case. However, a high-level description of a pot...

2 years ago | 0

| accepted

Answered
Different results when multiplying the same matrix by its transpose
In short, the discrepancy is due to the fact that MATLAB is using standard matrix multiplication for the first product and an op...

2 years ago | 1

| accepted

Answered
How can I find the FFT of a time series when the samples are not equally spaced?
Starting in MATLAB R2020a, the function "nufft" can be used to find the nonuniform FFT of a signal. Please refer to the official...

2 years ago | 2

| accepted

Answered
Why do I get warning messages about 'Imaginary Parts of Complex X and/or Y Arguments Ignored' ?
Explanation: You are attempting to plot using two complex inputs to a plotting function, like PLOT or PLOT3. In this case, MATLA...

2 years ago | 2

| accepted

Answered
Why does the Variable Editor display my object incorrectly when I overload the SIZE method in MATLAB 7.9 (R2009b)?
The reason that the object is not displayed correctly in the Variable Editor when you overload the SIZE function, is that the Va...

2 years ago | 0

| accepted

Answered
Is it possible to make the Rate Limiter block in Simulink a variable rate limiter?
This feature has been implemented in Simulink 6.0 (R14) via the Rate Limiter Dynamic block. If you are using a previous version,...

2 years ago | 1

| accepted

Answered
Is there a MATLAB routine that uses the Gauss-Jordan method?
For most applications, the Gauss-Jordan method is an unnecessarily expensive way to do these computations. Our backslash operato...

2 years ago | 0

| accepted

Answered
How can I isolate the highest peaks of sound signals in a batch of signals and trim each signal with specific time windows before and after the peak?
You can have all your signals in a folder and use the "dir" function to get a list of all your sound signal files. For example: ...

2 years ago | 0

| accepted

Answered
How do I create an App Designer App that lists the contents of a user-chosen directory?
Refer to the attached example App Designer file named 'ExampleDirectoryApp.mlapp'.  In the attached example App, there is a 'bro...

2 years ago | 2

| accepted

Answered
Why are DATETIME operations so slow?
In general, if you are performing many arithmetic operations one-by-one, you might want to see if there is any way you can vecto...

2 years ago | 0

| accepted

Answered
How to replace the NaN with 0 in a cell array that has the following anatomy 10x1 cell Each cell is of size 10173 x 2, (dates and values)
Please refer to the below example which shows replacing 'nan' with '0' in a cell array: Here, 'a' is a 2x2 cell array: a = { [5...

2 years ago | 0

| accepted

Answered
How does the 'cubic' method for griddedInterpolant work?
The ‘cubic’ method in 'griddedInterpolant' is the same as ‘v5cubic’ in 'interp1': https://www.mathworks.com/help/matlab/ref/doub...

2 years ago | 0

| accepted

Answered
How can I perform curve / surface fitting for data of more than three dimensions?
There are three options for performing curve-fitting tasks on data of more than three dimensions: You can use MATLAB's backslash...

2 years ago | 0

| accepted

Answered
How can I compare numbers for equality within a tolerance?
If you are using MATLAB R2024b In MATLAB R2024b, MathWorks introduced a new function "isapprox" which can determine approximate...

2 years ago | 7

| accepted

Answered
How do I use Classification Learner with datetime value predictors?
The Classification Learner App does not currently support datetime values. Our developers have been made aware of this issue and...

2 years ago | 1

| accepted

Answered
How do I round a 'datetime' to the nearest second?
You can use the function “round” to change the actual value of the 'datetime' to round to the nearest second. An example of how ...

2 years ago | 0

| accepted

Answered
How can I resolve a segmentation fault caused by a MATLB Engine API tbb.dll version mismatch?
The "tbb.dll" library is a threading library developed by Intel and shipped with MATLAB. A mismatch between the version of the "...

2 years ago | 0

| accepted

Answered
How do I control number formatting for 'mlreportgen.ppt.Table' object?
For ‘mlreportgen.ppt.Table’ objects, one possible way to set number format is to use 'compose' function to format data into mult...

2 years ago | 0

| accepted

Answered
How can I import "Pulse-based" or "Frame-based" data into Simulink models?
To load data that was logged in array format using the "To File" block, transpose the array so that the time values are in a sin...

2 years ago | 0

| accepted

Answered
Why is there a difference between the elements of arrays created by the colon operator with the same step size?
The difference would indicate a change in the least significant bit (LSB). This is a floating point accuracy issue and floating ...

2 years ago | 0

| accepted

Answered
Why does it take so long to stop a real-time application running on Speedgoat if my model contains many tunable parameters?
What This Issue Means When the application stops, an automatic parameter set file named "autoSaveOnStop" will be saved on the ta...

2 years ago | 0

| accepted

Answered
Why do I get a "Previously accessible file is now inaccessible" error message when running a deployed standalone application created with MATLAB Compiler?
When running a standalone application which was compiled with the MATLAB Compiler, all lines of the compiled script are executed...

2 years ago | 0

| accepted

Answered
Why does the "simple" function in the Symbolic Math Toolbox cause MATLAB to hang when trying to simplify my expression?
The use of 'simple' function is no longer supported. Instead, you should use the "simplify" function, which works much faster on...

2 years ago | 3

| accepted

Answered
How can I compute the standard deviation of a Gaussian fit generated with the Curve Fitting App?
The pre-defined Gaussian fitting function in the Curve Fitting App is defined slightly differently than the probability distribu...

2 years ago | 0

| accepted

Answered
Can I compare two numbers using Unit in the Last Place (ulps) in MATLAB?
There is no consensus on the definition of Unit in the Last Place. It is sometimes defined as the magnitude of the most signific...

2 years ago | 1

| accepted

Question


Why do I get a "Check if hostname can be resolved" or "Not enough input arguments" error when connecting to an OPC UA server from MATLAB?
When establishing a connection to an OPC UA server, MATLAB shows the following error in R2022b and earlier: uaclient = opcua('1...

2 years ago | 1 answer | 0

1

answer

Answered
Why do I receive the error "The procedure entry point GetCurrentThreadStackLimits could not be located in the dynamic link library KERNEL32.dll." when attempting to run the MathWorks Product Installer?
This means you are attempting to run the MathWorks Product Installer on a version of Windows that it is unqualified for (ex: R20...

2 years ago | 1

| accepted

Question


Why do I receive the error "The procedure entry point GetCurrentThreadStackLimits could not be located in the dynamic link library KERNEL32.dll." when attempting to run the MathWorks Product Installer?
Why do I receive the error "The procedure entry point GetCurrentThreadStackLimits could not be located in the dynamic link libra...

2 years ago | 1 answer | 1

1

answer

Question


How can I find where an interface is referenced in AUTOSAR Dictionary in Simulink R2024a?
In the AUTOSAR Dictionary, when I try to remove an interface that does not appear to be used elsewhere in the dictionary, I enco...

2 years ago | 1 answer | 0

1

answer

Question


How can I change the appearance of signal crossings in Simulink?
I want to change the appearance of signal line crossings in the Simulink editor. These signals are not connected to each other a...

2 years ago | 1 answer | 0

1

answer

Load more