Community Profile

photo

Bjorn Gustavsson


UIT, the Arctic University of Norway

266 2015 年以降の合計貢献数

連絡する

Bjorn Gustavsson's バッジ

  • Pro
  • First Review
  • Revival Level 1
  • Knowledgeable Level 3
  • 6 Month Streak
  • First Answer

詳細を表示...

貢献した分野
表示方法

回答済み
How to compute SVD of a matrix without using in-build SVD command?
So this is a homework task, right? (Unless you come up with a good reason this is the case everyone have to come to this conclus...

11日 前 | 0

回答済み
analytical solution of ODEs
This should be done thisly: syms r syms T(r) dTdr = diff(T) d2Tdr2 = diff(T,2) T = dsolve(1*d2T+((1/r)*dT) ==1,T(0.005)==20...

12日 前 | 0

回答済み
How to graphically/interactively select region of interest from 3D point cloud data
In newer versions of matlab there seems to be just such a feature, see: ROI.CUBOID For older versions of matlab (I vaguely rec...

13日 前 | 0

| 採用済み

回答済み
Obtaining a equation in two variables (x and y) from a set of data points
What you should do depends on your objective. If you very explicitly want a function you could use spap2 (and perhaps some of it...

13日 前 | 1

| 採用済み

回答済み
Hello, we have received a Matlab code in school and the assignment is to explain what it means. I wonder if anybody could take us through the code and explain it?
At the matlab command-line prompt type: dpstop in nameiofscript where nameiofscript is the name of the script-file. Then you r...

約1ヶ月 前 | 0

回答済み
How to obtain CDF from large dataset?
Have a look at the help and documentation of the function ksdensity - that is one way to do this with the least amount of assump...

約1ヶ月 前 | 0

回答済み
Difference in frequency domain between mp3 and wav
There are some small differences. You should also try to compare the spectrograms of the two signals, see the help for spectrogr...

約1ヶ月 前 | 0

回答済み
How to edit matlab saved file?
I think something like this should work: filename2edit = 'something.mat'; load(filename2edit,'X2change') X2change(3) = 12; s...

約1ヶ月 前 | 0

回答済み
I would like to plot Histogram and relative frequencies from a given dada.txt. I already plot time series plot for the given data. KIndly help me to plot histogram and relative freqs.
Have a good look at the help and documentation of histogram function. It should let you solve this task easily. HTH

約1ヶ月 前 | 0

回答済み
Solving 4th order ode problem
In general you convert a high-order ODE to a set of first order ODEs like in this example below (I will use a simple equation of...

約1ヶ月 前 | 0

回答済み
partial differentating a matrix by a vector
Have a look at the help and documentation for jacobian. HTH

約1ヶ月 前 | 0

| 採用済み

回答済み
Is it possible to plot a 3D graph with non numerical values?
The simplest method might be to map your classes to some integer range and then use the standard plotting functions. In your cas...

約1ヶ月 前 | 0

回答済み
How to display figure in full-screen mode programmatically and save as a high resolution image?
To save as high-resolution, I regularly use: print('-depsc2','-painters','J.eps') If you desperately want the image as a png-i...

約1ヶ月 前 | 1

回答済み
How to store 2D variables in matrix
For the storing the point coordinates you might look at either cell-arrays: r1 = [1,2,3]; r2 = [3,2,5]; r3 = [4.5,pi,1,5]; %...

約1ヶ月 前 | 0

回答済み
Problem getting number of ticks and labels to work properly
Do you get your xticks at the even years with the xticklabels for the first 6 years? You can at least check the x-tick values w...

約1ヶ月 前 | 0

回答済み
De-resolution of Dicom Image
So you problem is that you cannot figure out how to save a file to a new same-name file in another directory? If so something l...

約1ヶ月 前 | 0

回答済み
A switch case statement that will help me to either run codeS in Windows or linux, based on whichever OS it is
Have a look at the commands: computer, ispc, insunix, ismac. HTH

約2ヶ月 前 | 0

回答済み
zoom plot into plot
Maybe this file exchange contribution does what you need: zoomplot Or any of these: on-figure-magnifier, maginset, interactiv...

約2ヶ月 前 | 0

回答済み
How to find angle between two lines?
A more stable method that what Jos suggested is v_1 = [x2,y2,0] - [x1,y1,0]; v_2 = [x3,y3,0] - [x1,y1,0]; Theta = atan2(norm(...

約2ヶ月 前 | 1

| 採用済み

回答済み
How to find angle between two lines?
Look and you will find. HTH

約2ヶ月 前 | 0

回答済み
Integrating function of t over numerical values
Yes, that means that the function you call integral with is called with an array of values - therefore your function (the long e...

約2ヶ月 前 | 0

| 採用済み

回答済み
Multiple color plots / colorbars on a single axes
There are some contributions on the file exchange that deals with this. I thik this is one: colormat-and-colorbar-utilities You...

約2ヶ月 前 | 0

| 採用済み

回答済み
Given 2 red beads, 2 blue beads, 1 yellow bead, and 1 green bead, how many different necklaces can be made?
Why not just remove the non-unique necklaces? See the help and documentation for unique for how to do this. HTH

約2ヶ月 前 | 0

回答済み
stream lines for discrete data set of velocities
Your question is a bit too vague. Or rather, the input-data you have is a bit vaguely described. The answer depends on how you'l...

約2ヶ月 前 | 0

| 採用済み

回答済み
Is there a way to Un-clip a sine wave?
You can do something like this: sfcn = @(t,pars) pars(1)+pars(2)*sin(pars(3)*t+pars(end)); % sine-like function with offset and...

約2ヶ月 前 | 0

| 採用済み

回答済み
Plotting graph with variables on x axis
Something like this: y = randn(123,1); x = linspace(0,1,123); plot(x,y) xtstr = {'0','0.2d','0.4d','0.6d','0.8d','1d'}; set...

約2ヶ月 前 | 0

| 採用済み

回答済み
Dynamic model of a bending spring
Start reading up on the topic of beam-theory. Then come back with matlab or ODE/PDE-based questions which are more suitable for ...

約2ヶ月 前 | 0

回答済み
How to assign to an already 3d surface a colormap based on a set of values ?
This is how I'd do this: surf(x,y,z,Temps),shading flat This you dont have to view from above. HTH

約2ヶ月 前 | 0

回答済み
i want to fill zeros inbetween vector elements
Looks like you should turn to matlab's sparse arrays. Something like this should be a shortest-ish code-snippet to do what you n...

約2ヶ月 前 | 0

回答済み
Coherence as a function of time
Have a look at mscohere, and its help and documentation. It should allow you to calculate the coherence. My version resides in t...

約2ヶ月 前 | 0

Load more