Question

Detecting coordinates of line edges

I have a matrix containing 1s and 0s. The elements of this matrix are pixels of an image, where 1&0 represents black and white. ...

3 mois ago | 2 answers | 0

Question

Representing yaxis as additive yTicks

I have too many significant figures in my yTicks which makes it difficult to interprit (attached). I would prefer to represent ...

6 mois ago | 1 answer | 0

Question

MAT-files become associated with Microsoft Access (Run-Time)

This question is similar to Why have all my MAT-files become associated with Microsoft Access? All my .mat files are converted ...

7 mois ago | 0 answers | 0

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 =...

plus d'un an 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...

plus d'un an 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...

plus d'un an 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...

plus d'un an 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...

plus d'un an ago | 2 answers | 2

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...

plus d'un an 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?...

environ 2 ans 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...

plus de 2 ans 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...

plus de 2 ans 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...

plus de 2 ans 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>

plus de 2 ans ago | 5

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...

plus de 2 ans ago | 1 answer | 0

Question

Passing extra 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 the mod...

plus de 2 ans 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...

plus de 3 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...

plus de 3 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 3 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 3 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 3 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...

presque 4 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....

environ 4 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); ...

plus de 4 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...

plus de 4 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.

presque 5 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...

environ 5 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...

environ 5 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: ...

environ 5 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...

plus de 5 ans ago | 0 answers | 0