Answered
convert array string data in array serial number
Unless you're using an older release where it is not available I strongly recommend you use datetime instead of serial date numb...

3 years ago | 1

Answered
Inconsisent(?) behaviour of str2num() with a particular usage
If you want to evaluate the Static empty method of your class, don't use eval or str2num. Use feval or str2func. classname = "s...

3 years ago | 2

Answered
seems like a handle class nesting bug
Not a bug. See the "Handle Objects as Default Property Values" section on this documentation page for an expanation and an alter...

3 years ago | 0

Answered
SVD functions have different results
The values ​​are correct but the signs are wrong. That is not the correct way to say it. The signs are different but if you ch...

3 years ago | 2

Answered
why are the names not being saved as written? Why do i get this error each time? Also why is the legend wrong? please fix this so i can verify my code is working as intended.
Which line of code is actually part of your program? The line from the error message: save('featuresLD2.mat', 'features1SEM'); ...

3 years ago | 0

Answered
I will like to know what is the problem with my "iterate" function and how to solve it
A search for functions named iterate on the MathWorks website found only two hits on the first couple pages of results. The firs...

3 years ago | 1

Answered
why does an error that says "Line 31: The operation or expression 'plot( [t,delta_h]);' has no evident effect." appear when trying to plot
You cannot call the plot function while a variable named plot exists in the workspace. Your attempts to do so are treated by MAT...

3 years ago | 0

Answered
Help in calculating the error.
Can you use variables with numbered names like a1, a2, a3, etc.? Yes. Should you do this? The general consensus is no. That Ans...

3 years ago | 0

| accepted

Answered
Problem finding "valleys" in signal
Have you tried using islocalmin on your original data rather than findpeaks on the "flipped" data?

3 years ago | 0

Answered
I would like someone to build me a SABR Swaption Pricing Model for a fee
You may want to contact the MathWorks Consulting department and discuss with that group your needs and what would be required to...

3 years ago | 0

Answered
private variables in a matlab GUI
Before you enter the loop, by the way you've defined it the results property of the app is a double array. You can't assign a st...

3 years ago | 0

Answered
Where can I access the Enterprise License Administration Guide?
If by "the question abobe[sic]" you mean this question then note the first line of the accepted answer: "License Administrators...

3 years ago | 0

| accepted

Answered
Long running time with loops, is it possible to cancel the loops?
Let's look at the number of iterations you perform in each loop. Pulling out appropriate sections of your code to define the var...

3 years ago | 0

Answered
How to Create an initial state vector for a single qubit using quantum circuit
Are you trying to use the MATLAB Support Package for Quantum Computing or some other package for quantum computing? If the forme...

3 years ago | 0

Answered
Same code but different results on Mac and PC
When you step through your code in both the Windows and Mac versions of MATLAB using the debugging tools in MATLAB, on which lin...

3 years ago | 0

Answered
How to Italicize either of the axis tick labels ?
h = plot(1:10, 1:10); xlabel('abracadabra') ylabel('hocus pocus') ax = ancestor(h, 'axes'); The XAxis and YAxis properties o...

3 years ago | 0

Answered
Error "Unrecognized function or variable 'x'."
The first line where you try to index into the variable x is the line where the error occurs. Where in your code prior to that l...

3 years ago | 1

Answered
unexpected writetable and readtable behavior
This is the documented behavior. If you scroll down to the Algorithms section on the writetable documentation page, one of the e...

3 years ago | 0

Answered
No true random for standalone (files only) in AppDesigner?
Question 1: Is that a bug? No. See this documentation page for an explanation. While that talks about MATLAB startup, it also a...

3 years ago | 1

Answered
Error using plot - not enough input arguments / invalid data argument
The data you're trying to plot are all string arrays so plot is trying to interpret them as a series of name-value arguments. Bu...

3 years ago | 0

Answered
How does feedforwardnet(x) work in matlab.
Are you taking into account the pre-processing and post-processing functions?

3 years ago | 0

Answered
matlab Appdesigner TreeNode's NodeData property is unable to be set as a char that is a matapp file name
Can you show us the code where you're trying to get access to the word that you typed or pasted into the NodeData box? I'm guess...

3 years ago | 0

Answered
How can I just load a saved variable created from merging other variables but not also load those other variables?
save ArrayA; % I ONLY save ArrayA No, that's not what that means. If you look at the list of syntaxes on the save documentation...

3 years ago | 1

| accepted

Answered
datetime default format by version and operating system
What are your datetime format preferences settings? Can you confirm that you're using the datetime function included as part of...

3 years ago | 0

| accepted

Answered
How can I change my O(n^2) solution to O(n logn) or better?
You don't need to create a big matrix, just another vector. num_array = [2 7 11 15] target = 9 solutionLocations = ismember(n...

3 years ago | 0

Answered
change floating number in a column matrix
I'm guessing whoever or whatever wrote that file intended that to be a "missing" value or it's an outlier. The functionality in ...

3 years ago | 0

Answered
(Very!) Slow elementwise division using large sparse matrices.
The resulting matrix won't be very sparse. Anywhere your Hscos has a 0 (including the implicitly stored 0's) the result will con...

3 years ago | 1

Answered
Can argument validation check if size is at least some value?
No. You will need to create your own custom validation function. Use the mustBeEqualSize example on this documentation page as a...

3 years ago | 0

| accepted

Answered
Deploy ANN model Developed using ann fitting app using Matlab Compiler
If you are attempting to compile code using MATLAB Compiler that calls load to load an object from a MAT-file and there is no in...

3 years ago | 0

Answered
Find minimum or maximum value - two conditions
I think the islocalmin and islocalmax functions will be of use to you. See the MinSeparation name-value argument.

3 years ago | 1

Load more