Réponse apportée
How to change the color of only some arrows using quiver?
From the help of quiver: quiver(U,V,S) or quiver(X,Y,U,V,S) automatically scales the arrows to fit within the grid and...

environ 5 ans il y a | 0

| A accepté

Réponse apportée
open Linux Konsole from Matlab
From the man-page of xterm I get this suggestion: -e program [ arguments ... ] Which should be applicable to your case? HTH...

environ 5 ans il y a | 0

| A accepté

Réponse apportée
Converting irregular nested python list to matlab array
Wouldn't that become a 3-D cell-array of 1-by-2 arrays? Maybe something like this: nested_list{1,1,1} = [1,1]; nested_list{1,1...

environ 5 ans il y a | 0

| A accepté

Réponse apportée
How to Plot Smooth psuedo wigner Ville Distribution of multiple signals and save them each in a folder.
If you can do something like this: ECG_files = dir('your-data-files.ECG'); % modify to read your data-files... output_dir = 'W...

environ 5 ans il y a | 0

| A accepté

Réponse apportée
What functions does the main file call?
My prefered tool is m2html, combined with GraphViz you can get a very neat cross-referenced documentation for your scripts and t...

environ 5 ans il y a | 0

| A accepté

Réponse apportée
How to add a specific path to Matlab in -batch mode?
To my understanding and brief testing (Ubuntu, 2020a) it should work by simply adding paths as normal in/from your batch-script:...

environ 5 ans il y a | 1

Réponse apportée
Saving High Quality graphs within loop
The first input-argument to exportgraphics is supposed to be a handle to any type of axes. The handle you send in might very wel...

environ 5 ans il y a | 0

Réponse apportée
Scatter plot with multiple variables and colors
Something like this gives me 2 colours, and 2 sizes. You might modify the colours by switching colormap, size-mapping you'll hav...

environ 5 ans il y a | 0

Réponse apportée
How do I recover continous signal from descrete measurements?
Maybe you get something thats a bit more general (and perhaps?) more robust by simple least-square fitting: m_fun = @(pars,x) r...

environ 5 ans il y a | 0

| A accepté

Réponse apportée
Returning Incorrect index of array
It returns 1 for the index because the way you call min, x(x>0) becomes the array [0.5 4 5], and the first element of that array...

environ 5 ans il y a | 0

| A accepté

Réponse apportée
Trouble in ODE45 with "Array indices must be positive integers or logical values." error
The initial condition variable, y in your case, should be an array with values for all components (in the case you solve a set o...

environ 5 ans il y a | 1

| A accepté

Réponse apportée
What does Matlab have to offer for ill-conditioned inverse problems?
Have a look at the excellent regtools toolbox. It contains all sorts of regularization functions Tikhonov, damped sdv, maximum-e...

environ 5 ans il y a | 0

| A accepté

Réponse apportée
How to plot stacked variables with common x-axis?
Another option is the multiwaveplot function from the file exchange: stacked-line-plot. HTH

environ 5 ans il y a | 0

| A accepté

Réponse apportée
How 'normalization by standard deviation' works?
Read the help and documentation of normalize to find out. If that information is lacking you can "read the code, Luke"... HTH...

environ 5 ans il y a | 0

Réponse apportée
Zero Mean White Gaussian Noise with Covariance Matrix Given
Check the help and documentation for mvnrnd. HTH

environ 5 ans il y a | 0

Réponse apportée
Determine point spread function of a single pixel image
Your question is a bit confusing since you have two different pixel-domains where a PSF could be estimated - the micro-display a...

environ 5 ans il y a | 0

| A accepté

Réponse apportée
Superimpose two images on top of each other.
If your images are of equal size you can put them into different RGB-layers. Something like this: merged(:,:,3) = fixed; merge...

environ 5 ans il y a | 0

Réponse apportée
How do I solve an ODE that is piecewise defined, and oscillates between the two states?
This modification seems to work "sensibly" OK: Modify the ODEs into one: function y_dot = spring_ext_comp(t,y,m,c,k,a,w,Amp) ...

environ 5 ans il y a | 1

Réponse apportée
2D vector field video quiver
You seem to never release the hold on the plots - the result is that all subsequent plots are added to the current one. So somew...

environ 5 ans il y a | 0

| A accepté

Réponse apportée
Axis position is shifted when YtickLabel gets different number of digits in App designer.
The cumbersome way of explicitly aligning the the position of the axes after each plotting might work? Something like this perha...

environ 5 ans il y a | 0

Réponse apportée
Regarding flat fielding of an image
By flat-field you mean correct the image intensities for vignetting (optical and mechanical), right? If so provided that you're...

environ 5 ans il y a | 0

Réponse apportée
Exact solution of ode using matlab dy/dx=x^2+y^2 condition y(0)=0
That is a Riccatti ODE. See Riccati_equation for information on how to solve it analytically. My version of matlab spits out a l...

environ 5 ans il y a | 0

| A accepté

Réponse apportée
Can I obtain the covariance matrix of a stochastic process with plenty of measurements?
To me it seems that you have misunderstood the dimensions. Your covariance-matrix should, to my understanding be 50x50 when you ...

environ 5 ans il y a | 0

Réponse apportée
Contour-plot - Delete lines in legend colorbar
If you keep track of the handle returned by colorbar then it is easy to supress the ticks: cbh = colorbar; set(cbh,'TickLength...

environ 5 ans il y a | 0

| A accepté

Réponse apportée
How to difine the frequency range with the function 'nufft'?
To understand what you get out of a non-uniform Fourier-transform I find it educational to calculate the dftmtx and then purge t...

environ 5 ans il y a | 0

Réponse apportée
Consider preallocating for speed
In your code you change the values and type of Werte 4 times. That seems a bit excessive. I'd try something like this: 1 while ...

environ 5 ans il y a | 0

| A accepté

Réponse apportée
Coordinate Interpolation between mutiple points
To me it sounds like you in principle want to interpolate both your coordinates with respect to time between your hourly samples...

environ 5 ans il y a | 0

Réponse apportée
Conversion of space-time data to wavenumeber-time data
Provided that your data is sampled on a regular spatial grid it should be as simple as to perform a (perhaps windowed) fft in th...

environ 5 ans il y a | 0

Réponse apportée
I have recorded a rgb video and extract g frames vector and calculate it's mean now I want to calculate beats per minute kindly help how can I calculate BPM
In order to estimate frequencies you have to look at the time-variation of your signal, depending on the variability of this you...

environ 5 ans il y a | 0

Réponse apportée
How to calculate image resolution (full-width-at-half-maximum) of a point source?
I'd start with some simple models for your image response (2-D Gaussian, sinc^2(x).*sinc(y)^2) and fitted the parameters of thos...

environ 5 ans il y a | 1

| A accepté

Charger plus