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

environ 19 heures ago | 0 answers | 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?...

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

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

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

11 mois 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>

11 mois ago | 1

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

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

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

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

presque 2 ans ago | 0 answers | 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...

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

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

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

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

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

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

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

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

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

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

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

presque 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

Question

Access elements of a Vector without a few Indices?

Say suppose I have a vector X = [4 5 1 7 3 9 2 4] and I want to access X but without indices: 1, 4 and 6. I tried X...

plus de 4 ans ago | 1 answer | 0

Question

How can I get a list of users using a specific toolbox?

I am running Matlab R2014a with network license. Matlab gave me following error when I run normrnd(0,1) Error: Li...

plus de 4 ans ago | 1 answer | 0

Question

Read a text file with varying number of colums

I am trying to read a text file with varying number of columns, such as this: #5:v3.0_ST:1:2631.1301,N:140.0:081.000:...

plus de 4 ans ago | 2 answers | 1

Question

How to read non-printing characters(tab and crlf)?

Hello all, I have ill-formatted data in a text file, the values are separated by either tab or space and if the values are mi...

plus de 4 ans ago | 1 answer | 0

Question

Delete line from subplot: Handles not known

Hello all I would like to know how to delete a line or curve from a subplot for whom the handles are not known(for a saved figu...

plus de 4 ans ago | 2 answers | 1