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

4 years ago | 0

| accepted

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

4 years ago | 0

| accepted

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

4 years ago | 0

| accepted

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

4 years ago | 0

| accepted

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

4 years ago | 0

| accepted

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

4 years ago | 1

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

4 years ago | 0

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

4 years ago | 0

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

4 years ago | 0

| accepted

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

4 years ago | 0

| accepted

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

4 years ago | 1

| accepted

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

4 years ago | 0

| accepted

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

4 years ago | 0

| accepted

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

4 years ago | 0

Answered
Zero Mean White Gaussian Noise with Covariance Matrix Given
Check the help and documentation for mvnrnd. HTH

4 years ago | 0

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

4 years ago | 0

| accepted

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

4 years ago | 0

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

4 years ago | 1

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

4 years ago | 0

| accepted

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

4 years ago | 0

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

4 years ago | 0

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

4 years ago | 0

| accepted

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

4 years ago | 0

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

4 years ago | 0

| accepted

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

4 years ago | 0

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

4 years ago | 0

| accepted

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

4 years ago | 0

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

4 years ago | 0

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

4 years ago | 0

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

4 years ago | 1

| accepted

Load more