Answered
How mink functions is used in 2016a or is there any alternate of this function ?
As stated at the end of the documentation page for mink, this function was "Introduced in R2017b". It does not exist in release ...

7 years ago | 0

Answered
syms wrong message, definition
syms creates an Inf value as part of its operation, and you've enabled an error breakpoint that causes MATLAB to enter debug mod...

7 years ago | 1

| accepted

Answered
suptitle in 2016a
If you are using release R2018b or later, I recommend using the sgtitle function instead of suptitle. subplot(2, 2, 1); plot(1...

7 years ago | 3

Answered
How can I create this 2D waterfall plot?
That's not a waterfall plot, at least not by my understanding. To me a waterfall plot looks like the picture shown on the waterf...

7 years ago | 0

| accepted

Answered
Increasing Speed of Execution
Try the ischange function.

7 years ago | 1

| accepted

Answered
How can I represent the mean in figure
You can 'center' your data using the normalize function. As for "represent the data in figure" do you mean you want to plot the...

7 years ago | 0

Answered
Access different property from set method in class
As long as the get method for the useGpu property doesn't try to set the smaps property (leading to an infinite loop) and as lon...

7 years ago | 1

| accepted

Answered
New to MATLAB, question about num2str
I recommend not using datetime as the name of your variable as it already has a meaning in MATLAB. If you want to use a datetime...

7 years ago | 1

Answered
realmax + 1 infinity?
If you handed Bill Gates or Scrooge McDuck a $1 bill, it doesn't change what he'll report for his net worth. A single dollar is ...

7 years ago | 1

Answered
Compatibility of R2015b on windows server 2016
According to the previous release system requirements page, Windows Server 2016 is not listed as a supported operating systems f...

7 years ago | 0

| accepted

Answered
How to change values of x axis from numbers to dates
Are you trying to change just the labels, or are you trying to change the underlying data in the plot? If the former, try the x...

7 years ago | 0

Answered
Trouble using retime to obtain 1 year of hourly average values from 15 years of hourly average values
So if I understand correctly, you want to take the mean of (for example) your data points for 1 AM January 1st 2018, 1 AM Januar...

7 years ago | 0

Answered
syntax for random number
Take a look at the randi or randperm functions. If you need to generate numbers from a set that contains non-integer values, or...

7 years ago | 0

Answered
having error "Attempt to execute SCRIPT plot as a function: C:\Azam\non-linear\files\plot.m" in matlab when I want to plot
Rename the file C:\Azam\non-linear\files\plot.m to something else. While it exists in the current directory or in a directory on...

7 years ago | 1

Answered
Calculating within-month standard deviation from daily return data
Since this message was originally written we've introduced the timetable data type. I'd store the data in a timetable and call r...

7 years ago | 0

Answered
Find out if number is divisible by x
Take a look at the rem and mod functions.

7 years ago | 1

Answered
What does 'Colormap' do to the image with double/float pixels?
Since your variable name is img, I assume you're planning to display this using the image function in MATLAB. If so look at the ...

7 years ago | 0

Answered
prime staircase (coding)
Search the documentation for "prime" and you will find a function that will be useful to you.

7 years ago | 0

Answered
Matching based on working days
If possible, switch to using datetime instead of serial date numbers. You can use the datetime options 'ConvertFrom', 'excel' or...

7 years ago | 0

Answered
to display current time along side each element of a vector . need to implement it in the program below.
If you want to store your data in an array where each data point has a time and date associated with it, use a timetable.

7 years ago | 0

| accepted

Answered
Sum rows in timetable
Use the retime function.

7 years ago | 0

| accepted

Answered
How can I count the number of times a number appear in a vector?
You can use histcounts or histogram for this purpose. Let's generate some sample data, 100 integers between 1 and 10. A = randi...

7 years ago | 0

Answered
Unit Testing : Figures
I believe the unit testing infrastructure tries not to let you do that sort of thing, as it means that you don't really have a f...

7 years ago | 0

Answered
The application could not connect to MathWorks. For more information on resolving this issue, see this Support Article
Please contact Technical Support using the Contact Us link in the upper-right corner of this page and work with them to correct ...

7 years ago | 0

Answered
Size function regarding image
From the description of the "sz1,...szN" output arguments on the size documentation page: "If fewer than ndims(A) output argume...

7 years ago | 1

| accepted

Answered
How to print symbols in matlab?
Instead of trying to display the symbols in the Command Window, consider writing your code in the Live Editor. You can insert eq...

7 years ago | 1

Answered
Viscircles. Example doesn't work
Which release are you using? Does the documentation page for viscircles included in your installation list 'Color' as one of the...

7 years ago | 0

| accepted

Answered
startup.m not found in local folder
In previous releases, the toolbox path cache contained information about files in the toolbox subdirectory underneath matlabroot...

7 years ago | 1

| accepted

Load more