
Bjorn Gustavsson
UIT, the Arctic University of Norway
Statistics
RANK
58
of 273.588
REPUTAZIONE
2.770
CONTRIBUTI
4 Domande
1.522 Risposte
ACCETTAZIONE DELLE RISPOSTE
25.0%
VOTI RICEVUTI
417
RANK
7.012 of 18.459
REPUTAZIONE
130
VALUTAZIONE MEDIA
3.40
CONTRIBUTI
17 File
DOWNLOAD
34
ALL TIME DOWNLOAD
28278
CONTRIBUTI
0 Post
CONTRIBUTI
0 Pubblico Canali
VALUTAZIONE MEDIA
CONTRIBUTI
0 Punti principali
NUMERO MEDIO DI LIKE
Content Feed
How to describe loop for my ODE equations?
Write a function for these coupled ODEs. Inside that function you can use all the normal programmig tools and tricks you can thi...
circa 14 ore fa | 0
| accettato
Locking the Legend even if the object is deleted
If you explicitly set the axis of the plot, then you can hide objects outside the visible are and use their handles for the lege...
1 giorno fa | 0
Neural network for curve fitting (estimating function parameters)
In any type of parameter fitting problem you're facing the curse of dimensionality in one form or the other, because the number ...
3 giorni fa | 1
Image analysis for speckle pattern
A couple of things I'd try would be to determine the size-distribution of the speckles at different intensity-levels. This I'd d...
6 giorni fa | 0
Multiple curve fitting via optimization
For this type of problem I would use lsqnonlin, so read the help and documentation of that function and what additinoally you ne...
12 giorni fa | 2
| accettato
Why cant I get a stable Cranck Nicolson discretization?
(caveat: I didn't run your code or analyze it, but speak from my experience with CN) Most likely you take too long steps in time...
13 giorni fa | 0
Passing a matrix between several callbacks
If you have all your user interface in one figure (some calculator-like programme), then one way to store the matrix is in the '...
14 giorni fa | 0
Joint Probability Density estimation function
Search the excellent File Exchange for everything you need but cannot find in your matlab-installation! Here's what comes up wh...
16 giorni fa | 0
Integrating a line integral e^x(sinydx + cosydy) over an ellipse 4(x+1)^2 + 9(y-3)^2 = 36
For the integration you should use Green's theorem. It is beautiful, especially for this case. For the vector-field-plot you ca...
16 giorni fa | 2
| accettato
How to calculate a double integral inside the domain of intersection of two functions?
Perhaps you can use Green's theorem (you'd be very lucky if you could - but if you were to be that lucky in this case it would b...
23 giorni fa | 0
Create a function handle that is a sum of function handles
Your specification is a bit ambiguous to me, but if I interpret it such that you want to fit a function such that: (I've used...
26 giorni fa | 1
How can I find the filter bandwidth of Savitzky-Golay filtering?
QD suggestion: x = randn(4096,1); x_sgf = sgolayfilt(x,order,framelength); fx = fftshift(fft(x)); fxsgf = fftshift(fft(x_sgf...
27 giorni fa | 0
Further processing of contour plot data
I would not do the average of the contours in a region, because if you have a rather flat region with a single spike in some reg...
27 giorni fa | 1
Check summation from n=0 to 5 |n><n| in MATLAB?
If |n><n| is the same as <n||n> then you should have a look at the help and documentation to dot. That function will not general...
29 giorni fa | 0
| accettato
Decimal indexing for arrays in MATLAB
Have a look at the help and documentation for griddedInterpolant. That function might be what you're looking for. It creates a f...
29 giorni fa | 1
| accettato
How can I plot 18 lines in different colors on a single plot?
For that type of tasks I have had good use of the cmlines-function in the colormap-and-colorbar-utilities toolbox on the file ex...
29 giorni fa | 0
How to adjust a curve fit such that it goes through a specific point
If this is a plot of an electron-density profile observed with an IS-radar, then your ionosonde fOF2 point is (expected to be) a...
29 giorni fa | 0
i have a loop which runs from 1 to 7 producing four different figures per run. How do i automatically save each of these figures inside the loop. The loop is given below.
One thing I regularly do is something like this: fig_basename = 'My_current_fig'; for i1 = 1:7 %plot-and-decorate-code f...
circa un mese fa | 0
| accettato
How to rearrange random binary input for each iteration?
Have a look at the nextperm tool on the file exchange. It will allow you to cycle through all permutations. HTH
circa un mese fa | 0
Combine different size matrix
If your D is a scalar that you want to expand into a diagonal matrix then perhaps you can do something along these lines: szA =...
circa un mese fa | 0
How to detect wide ball in cricket using MATLAB. What should be the simple code for it.
One thing you can (should) try is to look at the differences between frames, that is subtract the previous frame from the curren...
circa un mese fa | 1
How to extract data from specific row
You can do things like this in matlab: data_oi = data(data(:,1)==1|data(:,1)==2,:); This wouild give you your data of interest...
circa un mese fa | 0
| accettato
issue with colormap (colorcube)
Check that/if/how the two m-files differ. If they differ, copy the one you like better to the other system into a directory you ...
circa 2 mesi fa | 0
Why am I obtaining incorrect values for Lipschitz 1/2 norms using the central difference method?
You've forgot to take the derivative of the function on-line, and you seem to take some kind of derivative on your own computer....
circa 2 mesi fa | 0
How can write Dirac bra-ket notation in MATLAB? Example please.
That depends on what you want to apply the bra-ket on. If it is simple vectors you might get away with simple inner-products usi...
circa 2 mesi fa | 1
| accettato
strange error with varfun and anonymous function
These 2 modifications work: tbl = table(randn(5,1)); func = @(x) cumsum(x); varfun(func, tbl) % ans = % 5x1 table % F...
circa 2 mesi fa | 0
| accettato
How to solve system of ODEs with unknown initial value?
This works: % one second-order ODE rephrased as 2 coupled first-order syms q0 [2 1] syms a1 a2 syms q(t) [2 1]; A = [...
circa 2 mesi fa | 0
Get grayscale like image from 2D representation of 3D random plot
Have a look at the help and documentation of histcounts2. That function will allow you to calculate this type of cumulative coun...
2 mesi fa | 1
| accettato
Standard Deviation of an histogram
You don't want the standard deviation of the histogram. You want the standard deviation of the pixel intensities in the image. Y...
2 mesi fa | 0
Differential Equations with Inputs (Tank Draining Problem)
What you should do is to make a small modification of your ODE-function - such that it takes an additional input argument where ...
2 mesi fa | 0
| accettato