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

보기 기준

답변 있음
Surface plot of scatter data X,Y,Z where unknown data is noise
If you have a good handle on the noise-distribution you could do that. But for plotting purposes I would go for setting missing ...

약 17시간 전 | 0

답변 있음
Test if input number is divisible by 3.
Have a look at the help and documentation for while. Also from the question I guess that you're reasonably new to programming. I...

약 17시간 전 | 0

답변 있음
Fast fourier tranformer for Time series data
It seems that you're a bit too close to the Nyquist frequency. If you try: [NUM,TXT,RAW]=xlsread('data.xlsx'); dt = mean(diff(...

1일 전 | 0

답변 있음
Anisotropic diffusion for a fingerprint image: how to correctly set up the parameters to get desired result(s).
You might find that you have more control over the anisotropic diffusion with the cedif or eedif functions from the nonlinear-di...

1일 전 | 0

답변 있음
Detect and remove outliers in signals
Be very cautious when changing bad-data-values to some default-value - that will eventually lead to (since we all know that the ...

4일 전 | 0

답변 있음
Histogram or bar graph with greater than bin?
Maybe something like this would be good enough/a step on the way: a = 75*randn(2048,1).^2; h = histogram(min(a,260),0:10:260,'...

5일 전 | 1

| 수락됨

답변 있음
Append to original file name and and save new file to directory?
You should be able to separate the path, name and ext of the full filename using fileparts. That should make it reasonably strai...

5일 전 | 0

| 수락됨

답변 있음
Linear interpolation using inter1 function in matlab
First you should learn to read the help to the function you struggle with. Do that carefully and you will see that the typical u...

5일 전 | 0

답변 있음
Is it possible to generate a sine wave like this? I tried combining 50hz, 100hz and 200hz together but I did not get something like this picture that I provided here.
Yes it is possible. You will have to make the phase-angle match at the frequency transitions (for simplicity make the time-windo...

6일 전 | 1

| 수락됨

답변 있음
two consequtive cursor's position in a while loop
Just after you have extracted and exported x in your while-loop you now have the next x-previous, so just stack that one away. S...

6일 전 | 1

| 수락됨

답변 있음
How to build a 3D chart/plot from scattered/raw data?
If you have a dense enough sampling you could use the scatteredInterpolant to get interpolated values at a regular grid and then...

6일 전 | 0

답변 있음
Plot deviation of curve as shaded area inside
Have a look at the file exchange. There there are multiple "shaded-error-plots". For example (without ordering of merit): jackk...

18일 전 | 0

답변 있음
Solving Linear Systems for Multibody Systems
As best I can interpret your flow-chart it seems that it ought to be "reasonably straightforward" to follow Torsten's advice by ...

19일 전 | 0

| 수락됨

답변 있음
finding the orthogonal vectors for a series of vectors
This is how I would do it: nVecs = 12 allVecs = randn(nVecs,3); for i1 = size(allVecs,1):-1:1 u_test = randn(1,3); whil...

19일 전 | 1

| 수락됨

답변 있음
Is there a way to deconvolute this peak, without knowing the convoluting peaks?
You might get some part of the way with deconvblind, from the image processing toolbox, so check the help and documentation to t...

21일 전 | 0

| 수락됨

답변 있음
Deleting every 2nd element of a cell array.
If you want to delete every odd row you do this: X(1:2:end,:) = []; If you want to delete every even element you do this: X(2...

21일 전 | 0

| 수락됨

답변 있음
casting without rounding using coder
Well, the only interpretation I can thing of that matches the "casting without rounding" in a sensible way is: ind = int32(...

28일 전 | 0

답변 있음
Find minors of a rectangular matrix
As far as I understand this one definition of generating one k-minor from an arbitrary matrix of size n-by-m is to select k rows...

29일 전 | 0

답변 있음
How to create a rectangular pulse train of amplitude '1' with user-defined time period?
You should be able to do that with the square function, check its help and documentation. You might need to add 1 and divide by ...

약 1달 전 | 0

답변 있음
Make spectrogram of LFP using chronux package
From the help of that function you will see that the output S should be: 0050 % S (spectrum in form time x frequenc...

약 1달 전 | 0

| 수락됨

답변 있음
How to homogeneous two different images into same color after image stitching
You should have some good use for the histogram-matching contributions found on the file exchange. For example: https://se.math...

약 1달 전 | 0

답변 있음
Create a cell array containing the first 3 doubles from another cell array
Would: ThreeFirst = cell2mat(CCC(1:3)); do the trick?

약 1달 전 | 1

답변 있음
Finding Maximum Consecutive Dry Days in Daily Rainfall Data
Don't do it with loops, that is a lot of work. Use the vectorized functions to your advantage. Here's how to get at it with usin...

약 1달 전 | 0

| 수락됨

답변 있음
How to make 2D matrix from 3D matrix to solve 2D nonlinear system?
For the interior of your grid you can rather easily calculate the Laplacian operator something like this: NperSide = 50; [x,y,...

약 1달 전 | 0

| 수락됨

답변 있음
operating Matlab via Ubuntu terminal
It should be possible to do things like this from any standard unix-terminal: $ matlab -nodesktop -nosplash -r YOUR-SCRIPT You...

약 1달 전 | 0

답변 있음
Value dash outside a 2D plot
You can do this: set(gca,'TickDir','out') HTH

약 2달 전 | 0

답변 있음
Creating a graph with error bars
You can use the errorbar function for plots like this. Check the help and documentation for that function. If that function does...

약 2달 전 | 0

답변 있음
How to extract values within a circular region from a griddata?
You "simply" only ask for the values inside that circular region. You can do it at least two different ways: N = 100; xv = lin...

약 2달 전 | 0

| 수락됨

답변 있음
2 equations, 2 unknowns - fminsearch(), fminunc() applied on numerical data
From your description you have 800-by-1300 linear equations of the type: a + x = b + y and you want to solve for both x and y....

약 2달 전 | 0

| 수락됨

답변 있음
Local variance estimation for image filtering
You get that result because medfilt2 will select the median value of the pixel-intensities of your region, and completely discar...

약 2달 전 | 0

| 수락됨

더로드