Answered
Resample multiple overlapping datetime to 1-minute (and 15-minutes) resolution?
Let's start off with two simple timetable arrays, one per pump. pump1 = timetable(datetime(["01-Jan-2018 00:14:09"; "01-Jan-201...

7 years ago | 0

| accepted

Answered
Wrong function interpretation on App Designer
You've encountered one of the problem listed in the Limitation section of the MATLAB Compiler documentation. You wrote: whe...

7 years ago | 0

Answered
I am trying to run (e.g. from examples) fanimator.I gets :Undefined function or variable 'fanimator'. Also, typing "help fanimator", repling "fanimator not found." Any helps?Thanks
According to the note at the end of its documentation page this function was introduced to Symbolic Math Toolbox in release R201...

7 years ago | 0

Answered
Help with finding highs
Do you want to find a local maximum? If so see the islocalmax function. Do you want to find a place where your data changes sig...

7 years ago | 0

Answered
Users can't change the number of days to borrow a license
Are you using release R2018a? If so see Bug Report 1789116.

7 years ago | 1

| accepted

Answered
Compare values in a matrix and keep the lowest number in each element?
Call min with the two matrices as input. From the documentation: "C = min(A,B) returns an array with the smallest elements taken...

7 years ago | 1

Answered
Why did I type the following example in MATLAB, MATLAB shows an error.What's the reason?
That is a MuPAD function, not a MATLAB function. You can call it in a MuPAD Notebook or in a symengine object, but you cannot ca...

7 years ago | 0

| accepted

Answered
Can multiple classes share external methods without inheritance?
There are a number of problems with your data_class1 class. classdef data_class1 < handle %?? - not a subclass, right? pr...

7 years ago | 0

| accepted

Answered
How to plot multiple Contours in a 'parent' Figure.
I suspect you have a variable named set (or maybe one named axes) in your workspace that's taking precedence over the built-in s...

7 years ago | 0

Answered
Using trainNetwork on a remote headless machine
I haven't tried this but I think you want to use trainingOptions to tell MATLAB not to create the training progress Plots. If yo...

7 years ago | 0

| accepted

Answered
Matlab freeze during intitializing...
That answer is missing a step 7: contact Technical Support using the telephone icon in the upper-right corner of this page and w...

7 years ago | 0

Answered
Undefined function or variable 'denoisingNetwork'.
According to its documentation page denoisingNetwork was introduced in release R2017b. To use this you will need to upgrade to r...

7 years ago | 0

| accepted

Answered
'num2str' Error
Since you're using release R2019a, rather than using char array concatenation or sprintf I would append strings together. stude...

7 years ago | 0

Answered
Network visualization distance between nodes
If you're using release R2018a or later, specify the 'WeightEffect' name-value pair when you plot or layout your graph or digrap...

7 years ago | 0

Answered
Matlab to C code conversion issue
function final_seq=myapp(x,y,a,b,i,j,z,k,p,m,new,xt,J,ix,X1,final_seq) x=input(' Enter fast clock ratio '); %fast clock y=inpu...

7 years ago | 2

Answered
Finding the repeated substrings
For the original question you could convert the char data into a categorical array and call histcounts. >> C = categorical({'AA...

7 years ago | 0

Answered
"Find and Replace" in Matlab Editor
I don't believe there is such functionaltiy in the Editor, but this seems like a reasonable enhancement request to file with Tec...

7 years ago | 0

Answered
[Guide] Pass a variable between two functions using handles.
Each callback function has its own workspace, separate from the rest. Creating a variable in one doesn't automatically create it...

7 years ago | 1

| accepted

Answered
Is it possible to optimize converting a C# array of serial times (double) to a Matlab array of datetimes?
datetime can convert an array of serial date numbers at once, and this avoids the overhead of calling datetime repeatedly. >> D...

7 years ago | 1

| accepted

Answered
Licenses for multiple users
I recommend contacting Installation Technical Support using the telephone icon in the upper-right corner of this page. That will...

7 years ago | 0

Answered
Please help me with the error : "Parse error at numargin: usage might be invalid MATLAB syntax"
Smart indent your code and you should see that you have an extra end. The end on line 45 ends the for loop "for i=1:length(gui_S...

7 years ago | 1

| accepted

Answered
is there any command to Perform hexadecimal division operation between the data in two variables
Assuming by "hexadecimal division operation" you mean regular division, use hex2dec then divide as normal. If you have a differ...

7 years ago | 0

| accepted

Answered
how to show selection of property using 'Tab' in self-developed function
If you're using release R2018a or later, yes.

7 years ago | 0

| accepted

Answered
Creating an adjacency matrix from a table
You can create a digraph by passing in arrays of source node names and target node names. See the sections of the Syntax section...

7 years ago | 0

Answered
How to display y=0 in figure
As of release R2015b you can set the XAxisLocation property of the axes to 'origin'.

7 years ago | 0

Answered
What a callback function means? Access to hyperlinks of structure figures fields. Workspaces. disp(ans).
See this documentation page for a discussion of callbacks in App Designer apps or this documentation page for GUIDE apps.

7 years ago | 0

| accepted

Answered
Deleted surf script on system
Check the Windows recycle bin. If the file is still there, right-click on it and select Restore. If not, reinstall MATLAB as Jo...

7 years ago | 0

Answered
Converting 3 matrix to X Y Z type file
Transpose them and concatenate them as shown in the Concatenating Matrices section on this documentation page. Alternately, if y...

7 years ago | 0

Answered
Matlab wants activation after it has been activated
Try the steps in the MathWorks Support Team answer here and if they don't work contact Technical Support using the telephone ico...

7 years ago | 0

| accepted

Answered
In MATLAB how can I write out a multidimensional array as a string that looks like a raw numpy array?
To iterate over the nth dimension of an array where n is not fixed, there is an indexing trick you can use. ndim = randi([4 7])...

7 years ago | 1

Load more