Community Profile

photo

Bjorn Gustavsson


UIT, the Arctic University of Norway

Last seen: Today 2001 이후 활성

Statistics

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

배지보기

Content Feed

보기 기준

답변 있음
2D circular interpolation (theta, phi) angles
Simply concatenate the Z-values for columns and rows corresponding to theta and phi equal 0 and 1 at the end of Z and extend the...

약 11시간 전 | 0

| 수락됨

답변 있음
Plot Three Variables with Three separate Y axis
You might use the plotyyy function from the matlab file excange to do just that. Or any of the other functions that show up when...

약 13시간 전 | 0

답변 있음
My legend does not display the right colours. Can anyone help with this?
To gain complete control over your legending use the plot-handles that plot returns. Something like this: figure(13) ph1 = plo...

1일 전 | 0

| 수락됨

답변 있음
how can i make subplots larger without manually stretching them ?
For figures like this I find it important to remove the xlabel-text except along the bottom row - this saves valuable real-estat...

1일 전 | 0

| 수락됨

답변 있음
angles to arrows representation
Arrow in 2-D: r_from_origin = l*[cos(theta),sin(theta)]; Arrow in 3-D: r_from_origin = l*[cos(phi)*sin(theta),sin(phi)*sin(th...

1일 전 | 0

답변 있음
Solving First order ODE with constant coefficient
Should be as simple as: sym y(t) Also: isn't direct use of dsolve enough for you? HTH

3일 전 | 0

답변 있음
Spectrogram of Audio Signal
Have a look at the help and documentation of the spectrogram function. That allows you to calculate the spectrogram as such: [S...

4일 전 | 0

| 수락됨

답변 있음
How can i calculate PDF and CDF of non-parametric distribution?
You get some start towards estimates of the PDF/CDF from histogram and ksdensity. See the help and documentation to those functi...

5일 전 | 1

답변 있음
3Dplot suggestions on azimuthal data
You seem to have your x and y-coordinate values along the first row and column of the data. If so: x = test(1,2:end); y = test...

5일 전 | 2

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

5일 전 | 0

| 수락됨

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

7일 전 | 0

| 수락됨

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

13일 전 | 0

| 수락됨

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

14일 전 | 0

| 수락됨

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

14일 전 | 0

| 수락됨

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

15일 전 | 1

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

15일 전 | 0

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

18일 전 | 0

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

22일 전 | 0

| 수락됨

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

26일 전 | 0

| 수락됨

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

26일 전 | 1

| 수락됨

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

27일 전 | 0

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

27일 전 | 0

| 수락됨

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

28일 전 | 0

답변 있음
Zero Mean White Gaussian Noise with Covariance Matrix Given
Check the help and documentation for mvnrnd. HTH

28일 전 | 0

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

약 1달 전 | 0

| 수락됨

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

약 1달 전 | 0

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

약 1달 전 | 1

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

약 1달 전 | 0

| 수락됨

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

약 1달 전 | 0

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

약 1달 전 | 0

더로드