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

보기 기준

답변 있음
Remove noise from the image
First start by trying standard filtering-methods. Compare what you get with 2-D median-filter (medfilt2), and Lee's sigma-filter...

약 11시간 전 | 0

답변 있음
Function GUNZIP was unable to read URL ''http://opihi.cs.uvic.ca/sound/genres.tar.gz''.
If the file doesn't exist then nothing will be able to read it. I wouldn't bother using gunzip, I'd go for straight downloading ...

1일 전 | 0

답변 있음
True north-based azimuths
Your question doesn't make much sense, sure you can do that - but that would be more of "establishing" your azimuth-convention. ...

1일 전 | 0

| 수락됨

답변 있음
Incorrect dimensions for raising a matrix to a power
Just set a debug-stop in that function and check what dimensions your variables have: dbstop in gaussh Or just at the point wh...

3일 전 | 0

| 수락됨

답변 있음
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...

4일 전 | 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 ...

4일 전 | 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...

4일 전 | 1

| 수락됨

답변 있음
how can compute a marginal distribution?
Look at the help and documentation for the histogram-function. Possibly also check the histogram2. HTH

5일 전 | 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...

5일 전 | 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(...

6일 전 | 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 ...

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

10일 전 | 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...

11일 전 | 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...

11일 전 | 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...

12일 전 | 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 ...

13일 전 | 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....

15일 전 | 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...

15일 전 | 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...

16일 전 | 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...

18일 전 | 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...

24일 전 | 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...

25일 전 | 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...

26일 전 | 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...

26일 전 | 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: ...

27일 전 | 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...

약 1달 전 | 0

| 수락됨

답변 있음
Raw data accelerometer to velocity
Acceleration is derivative of velocity, to get velocity from acceleration summation do you must.

약 1달 전 | 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

| 수락됨

더로드