Question

Can grid rotate?

For example, if I type grid rotate 45 grid on , a grid which rotates by 45 degrees will be shown. Can grid in Matlab rotate?...

2 years ago | 1 answer | 0

Question

How to not display abscissa ticks using command while keeping the ticks of y-axis?

How to not display abscissa ticks using Matlab command while keeping the ticks of y-axis? Thank you.

2 years ago | 1 answer | 0

Question

Is there a function that populates a matrix whose minor diagonal are all the same?

Is there a function that populates a matrix whose minor diagonal are all the same, according to the given (odd-numbered) vector?...

2 years ago | 1 answer | 0

Question

Does Matlab provide more control over Vandermonde matrix?

For the existing function if vander() which populates Vandermonde matrix, it seems that it must return a square matrix of NxN wh...

2 years ago | 0 answers | 0

Question

Matlab does not respond after setting DISPLAY=:0

I am trying to run Matlab in a HPC cluster environment. The job is submitted this way: qsub -I -l select=1:ncpus=1:ngpus=1:...

2 years ago | 0 answers | 0

Question

mxCreateNumericArray error: cannot convert from 'const size_t *' to 'const int *'

I am trying to compile a piece of <https://github.com/cvondrick/ihog downloaded code> using Matlab 2017a on Windows 10: /...

3 years ago | 1 answer | 0

Question

How to fit a polar histogram?

We know |histfit| can fit a histogram and show the fitted curve on the histogram. But it only works for regular histogram. For p...

4 years ago | 1 answer | 0

Question

How to solve linear equation using GPU?

Assume I need to solve a linear matrix equation Ax=b where A is a 3x3 non-singular matrix and b is a column vector of 3 elements...

4 years ago | 2 answers | 0

Question

How to set different part of a line with differnet color?

Hi all, Suppose I want to draw a plot with command: plot(1:220, data, '.-'); The output line has a uniform color throughout ...

4 years ago | 2 answers | 0

Question

How to set different background color for differnt rigion of the figure?

I want to draw a plot figure in which the rectangular background region corresponding to x-coordinate [1, 100] has a red color, ...

4 years ago | 1 answer | 0

Question

A few questions about the output value of dsp.SpectrumAnalyzer

I am testing the output values of dsp.SpectrumAnalyzer for a sine wave mixed with white noise. The \sigma^2 of the white noise i...

5 years ago | 1 answer | 0

Answered

How to smooth this curve so that I can find the sharpest turning point

Thank you for the reply. I later found out the reason why my original method, i.e., smooth+ locating the maximal second-order de...

How to smooth this curve so that I can find the sharpest turning point

Thank you for the reply. I later found out the reason why my original method, i.e., smooth+ locating the maximal second-order de...

5 years ago | 0

Question

How to smooth this curve so that I can find the sharpest turning point

I have a curve plotted below: <</matlabcentral/answers/uploaded_files/55147/Untitled1.png>> I want to find out the sharpes...

5 years ago | 3 answers | 0

Question

Does Matlab have the function to format script?

Just wondering if Matlab has the function to format script, e.g., automatically add a space after a comma, or add spaces before ...

5 years ago | 3 answers | 0

Answered

Is there a way to disable all warning messages from command window

In case you want to suppress warnings from all workers running in parallel (the above answers do not work in this case), use: ...

Is there a way to disable all warning messages from command window

In case you want to suppress warnings from all workers running in parallel (the above answers do not work in this case), use: ...

5 years ago | 5