Question

boxplot at uneven spacing

Just consider the following example, which I have taken from here. rng('default') % For reproducibility x1 = rand(5,1); x2 =...

environ un mois ago | 1 answer | 0

Question

logical operators on a logical matrix

Consider the following logical matrix of 4X2 A = logical([1, 0; 1, 1; 0, 0; 0, 1]) I would like to apply logical operator (sa...

3 mois ago | 1 answer | 0

Question

Does matlab support fullscreen?

'F11' is usually a shortcut for fullscreening in most of the softwares, like Chrome, Spyder, etc. However, search for fullscrine...

3 mois ago | 1 answer | 0

Question

CapSize for a customized errorbar plot

I am writing a customized errorbar for myself. But I do not know how to control the CapSize, like it is controled in the default...

4 mois ago | 1 answer | 0

Question

making `errorbar` work with `datetime`

I would like to plot errorbar with datetime on x-axis x = datetime(['21-Aug-2019'; '22-Aug-2019'; '23-Aug-2019']); y = [100; 1...

4 mois ago | 2 answers | 0

Question

Using normpdf with datetime datatype

I have a vector of time in datetime datatype. I would like to calculate the Normal pdf by giving arguments in datetime datype. n...

4 mois ago | 1 answer | 0

Question

set size of axes in cms

I have a figure containing four subplots. I want to set the height and width of axes either in cm or in pixels. Can it be done?...

12 mois ago | 2 answers | 0

Question

line vs plot: Multiple axes

I tried the example code for *Creating Chart with Multiple x-Axes and y-Axes* from this link. The code is as follows: figur...

environ un an ago | 0 answers | 0

Question

Why this error with `axis`

>> axis('limits',[0 60 0 50 0.13 0.23],'style', 'square') The above produces following error error- Error using axis...

environ un an ago | 2 answers | 0

Answered

How to remove whitespace around subplot figures?

The reason is, it requires |'ActivePositionProperty'| property of |axes| set to |'outerposition'|. By default, subplots have an...

How to remove whitespace around subplot figures?

The reason is, it requires |'ActivePositionProperty'| property of |axes| set to |'outerposition'|. By default, subplots have an...

environ un an ago | 0

Answered

Automatically remove white space from figure

This may help you: <https://in.mathworks.com/help/matlab/creating_plots/save-figure-with-minimal-white-space.html>

Automatically remove white space from figure

This may help you: <https://in.mathworks.com/help/matlab/creating_plots/save-figure-with-minimal-white-space.html>

environ un an ago | 2

Question

Declaring plot arguments/options beforehand

I would like to declare arguments of plot function once and beforehand, so than I can use them in a loop or for many plots, whi...

environ un an ago | 1 answer | 0

Question

Passing more arguments to `nlinfit` function

I am in interested in passing extra arguments to |nlinfit| function in Matlab beta = nlinfit(X,Y,modelfun,beta0) and let...

plus d'un an ago | 1 answer | 0

Question

Already Saved Subplots to subplots including title and labels

I am trying to reproduce already saved figures (.fig) to subplots in new figure I have tried the following code which I have fou...

environ 2 ans ago | 1 answer | 0

Question

xlabel and ylabel is not visible in surf plot

When I 3D plot using |surf()| and try to rotate using |Rotate 3D| tool, my xlabel and ylabel gets disappeared. This happens freq...

environ 2 ans ago | 1 answer | 0

Question

LogLikelihood for Gaussian Process regression (function: `fitgpr`) for given set of hyperparameter

I am interested in calculating LogLikelihood using Gaussian Process for given hyperparameters and noise parameter i.e. without...

plus de 2 ans ago | 1 answer | 0

Question

Create timeseries from timeseries

I have a quick question to ask. I would like to create a timeseries from a timeseries object but with given data columns. (Sa...

plus de 2 ans ago | 1 answer | 0

Question

Plotting selected data from time series

Say |ts| is a <https://in.mathworks.com/help/matlab/ref/timeseries-class.html timeseries object> with three data colums. Storing...

plus de 2 ans ago | 1 answer | 1

Question

Estimates from Gaussian Process regression (function: `fitgpr`) for given set of hyperparameter

I am interested in estimating _y_ using Gaussian Process for given hyperparameters and noise parameter i.e. without optimizing f...

plus de 2 ans ago | 1 answer | 0

Question

Converting cell to 3 dimensional matrix

I have a cell of size [1, 50] each of it is 11 x 2 matrix. I would like it to convert it to a 3-d matrix of size 11 X 2 X 50....

presque 3 ans ago | 1 answer | 0

Question

Clarification regarding text in figure

I have a quick question: I was trying to get text on a figure, kindly consider the following: t = linspace(0,2*pi,50); ...

environ 3 ans ago | 1 answer | 0

Question

Copy XLabel from axes: R2014a

Hello I was trying to copy xlabel text from one axes to another with following code. What I exactly want is *XLabel* of |a1...

environ 3 ans ago | 1 answer | 0

Answered

Sendmail authentication error with gmail

For some service providers the extension _' @gmail.com_' in _myaddress_ may cause authentication error. Simply use userID.

Sendmail authentication error with gmail

For some service providers the extension _' @gmail.com_' in _myaddress_ may cause authentication error. Simply use userID.

plus de 3 ans ago | 0

Question

Generating truncated Normal random and pdf using makedist with fixed sigma.

I am finding it difficult to even describe my doubt may be someone get a clue from the code. I want to generate <http://in.mathw...

presque 4 ans ago | 0 answers | 0

Question

Doubt in declaring a function

I have a doubt regarding declaration of a function, kindly conside the following code fun = @GVF sqrt_estimt = fminsea...

presque 4 ans ago | 1 answer | 0

Question

Estimating parameters of ODE using ode45 and fminsearch

Hello all I am trying to estimate parameters of Ordinary Differential Equations (ODE). I am receiveing the following error: ...

presque 4 ans ago | 1 answer | 0

Question

Better visual quality of formula in Publishing

Published a .m file converts LaTeX formulas to .png, which looks blurry in browsers and especially on zooming. Is there a good w...

environ 4 ans ago | 0 answers | 0

Question

Better visual quality of formula in Publishing

Published a .m file converts LaTeX formulas to .png, which looks blurry in browsers and especially on zooming. Is there a good w...

environ 4 ans ago | 0 answers | 0

Question

Error in Publishing a code.

Consider the following code, this produces a error while publishing. Any idea why? %% Gaussian kernel function % Some ...

environ 4 ans ago | 1 answer | 0

Question

How to remove a specific script/function from path?

I use to work with a function named isdiag(), but from R2014a, Matlab has that function as built-in which is causing name confli...

plus de 4 ans ago | 2 answers | 1