Community Profile

photo

Bjorn Gustavsson


UIT, the Arctic University of Norway

Last seen: Today 2001 以来アクティブ

Statistics

All
  • 36 Month Streak
  • Guiding Light
  • Solver
  • First Submission
  • Explorer
  • Revival Level 2
  • 5-Star Galaxy Level 5
  • Knowledgeable Level 5
  • Personal Best Downloads Level 2
  • Editor's Pick
  • First Review
  • Thankful Level 1

バッジを表示

Content Feed

表示方法

回答済み
Filtering the large precipitation data for finding rainfall events
If you store your rain-fall-data in an array, r_f for rain_falls, with n_t rows and n_stations columns you could easily do thing...

約3時間 前 | 0

回答済み
How to fit regression
This is not a polynomial, therefore you cannot use polyfit. You can seamlessly use any least-square fitting routine to fit your ...

約8時間 前 | 0

回答済み
curve of best fit
In order to get a function that has two y-values for for some range of x-values you will cannot fit a polynomial such that y=p(x...

約18時間 前 | 1

| 採用済み

回答済み
how can compute a marginal distribution?
Look at the help and documentation for the histogram-function. Possibly also check the histogram2. HTH

1日 前 | 0

回答済み
Solving a system of linear equations with lots of o coefficients.
Matlab is designed to solve systems of linear equations. It is one of the fundamental operators of its matrix-algebra: % Your p...

2日 前 | 0

回答済み
Reading and analysing files in subfolders - indexing
Why not skip the generation of FileName and index into files directly inside the loop: dt = 0.005; tt = 0:dt:60; files = dir(...

2日 前 | 0

回答済み
Trajectorys of 4 objects on 3D plane not symmetrical
Your main problem (or rather: step to take) is that you do the calculations element-by-element in the different arrays. That is ...

4日 前 | 0

| 採用済み

回答済み
Trying to use central difference scheme to solve logistic equation
Well run your code line-by-line and figure out what the problem is. This is what you let us know about your script (My comments...

7日 前 | 1

回答済み
How to calculate jacobian matrix for R^n X R^n system in matlab
Maybe this illustration of how to reshape your variable x and function f from n-by-n to n^2-by-1: syms x [2,2] % a small n-by-n...

7日 前 | 0

回答済み
Plotting 2 functions on the same graph
Skip the calls to subplot? That would make your scrip "not put the graphs in 2 separate axes": x1 = Pos1(t); x2 = Pos2(t); ph...

8日 前 | 0

| 採用済み

回答済み
How does Matlab uses memory inside a function?
Matlab is very clever in memory usage in functions, pass-by-reference-copy-on-modification. So as long as you only take values o...

8日 前 | 0

| 採用済み

回答済み
Using Shooting Method on Euler Method to Solve Second Order BVP
To do that you should make functions out of this script. That way you will have a much cleaner programme, that is far easier to ...

9日 前 | 1

| 採用済み

回答済み
Mapping toolbox: irregular measured geo referenced data into regular grid
"5m" sounds like a reasonably small region of data? If so, local topography might be more important than the curvature of Earth....

11日 前 | 0

回答済み
Pseudo-spectral method solution for wave equation PDE: d^2p/dt^2=(c^2)*[d^2p/dx^2 + d^2p/dy^2 + d^2p/dz^2]
This is just a linear wave-equation with constant speed of the waves. The general solution is just: So you just have to deter...

11日 前 | 0

回答済み
How i can solve limit this ODE question .
This is a Riccati equation. Convert it to a standard linear second-order differential equation and solve it that way, check what...

13日 前 | 0

回答済み
extrapolation of contour data set
Since the minimum value of your counttest-variable is 0.0853 or thereabouts you will never get any contour for levels lower than...

14日 前 | 0

| 採用済み

回答済み
Solving an ode for newton with vectors
The thing you have to fix here is the indexing of r in your equation-of-motion. You have to extract the 3 velcity-components for...

20日 前 | 0

| 採用済み

回答済み
solving ode in a given grid
If you have the analytical function for how your t depends on x you should be able to calculate t for any x inside your ODE-func...

21日 前 | 0

回答済み
Plotting meteorological data on Geographic maps
If you don't have access to the mapping toolbox you might find good use of the m_map toolbox: m_map. It have helped me make plot...

22日 前 | 0

回答済み
How can I display text on pcolor map like in the image below?
If you have your text-strings and their respective location you should be able to do this brute-force: pcolor(X,Y,Z),shading in...

22日 前 | 0

回答済み
How to add text to a line in the plot?
With text you specify both the x and y-coordinate of the text. For example: th = text(14,-0.5,'text-test that will start at x: ...

24日 前 | 1

回答済み
How can I classify two different types of radar modulation from images obtained in the time-frequency analysis?
The second modulation is obviously a chirp. How can I be so sure? Well I cannot because there is no way I can distinguish a poin...

29日 前 | 0

| 採用済み

回答済み
Raw data accelerometer to velocity
Acceleration is derivative of velocity, to get velocity from acceleration summation do you must.

29日 前 | 0

回答済み
How to increase number of contour lines in a plot?
If you check the documentation you will find this advice: fcontour(f,'LevelList',[-1 0 1]) which adapted to your xy-region wou...

約1ヶ月 前 | 0

回答済み
error in rgb2gray and imshow
It seems you have named a script or function gray.m in your C:\Users\amirg\OneDrive\Documents\MATLAB\ directory. That will cause...

約1ヶ月 前 | 0

| 採用済み

回答済み
How to plot contour on imagesc for three variables?
Maybe it is enough for you to make this minor modification: figure('name','depolarization ratio') imagesc(Reff,EC,depi') hold...

約1ヶ月 前 | 0

| 採用済み

回答済み
how to find DOA using time difference, considering 2 microphones of an audio signal.
If you know the speed of sound, lets say , and the positions of the microphones, lets say and . Now if you can determine the ti...

約1ヶ月 前 | 1

| 採用済み

回答済み
Spectrogram - Piano sound length
Well there are one "music/instrument-based" problem with the question (that might be important or not): on pianos there are the ...

約1ヶ月 前 | 0

回答済み
Can ode45 return two column vectors or a cell array?
From the help of ode45: For a scalar T and a vector Y, ODEFUN(T,Y) must return a column vector corresponding to f(t,y). So wha...

約1ヶ月 前 | 0

| 採用済み

回答済み
Deblur image that has locally varying (but well known) motion blur
Some time ago I wrote a pair of simple "variable-psf-blurring and variable-psf-deblurring" functions. They at least work OK-ish ...

約2ヶ月 前 | 0

もっと読み込む