Community Profile

photo

Rasmus


Active since 2014

Statistics

  • Thankful Level 3

View badges

Content Feed

View by

Answered
columns, none under 5.
like if i have a vector like this. b=1 1 1 5 6 7 8 i add the ones together, so that i have only values of 5 or above. ...

environ 8 ans ago | 0

Answered
columns, none under 5.
Sorry for the bad explanation, english is my primary language. I need the data for some statistiscs,(poisson) which in this c...

environ 8 ans ago | 0

Question


columns, none under 5.
hey guys! I have a question a= 1 0 0 1 1 0 2 0 2 0 3 3 ...

environ 8 ans ago | 3 answers | 0

3

answers

Question


looping a sequence easiest
hello guys! which way would be the easiest to make a loop of a sequence 1000 times ? this is my code ------------------...

environ 8 ans ago | 1 answer | 0

1

answer

Question


code sequence repeat 1000 times
hello guys! which way would be the easiest way to repeat a sequence 1000 times ? this is my code ----------------------...

environ 8 ans ago | 1 answer | 0

1

answer

Question


Arrays and finding a chain of ones
Okay I have an array which gives me 566 ones and zeros in total. The code i am using is the following. x0=[zeros(1,276) ones(...

environ 8 ans ago | 2 answers | 0

2

answers

Question


curve fitting, and finding the parameters
I have this histogram which i need to make a fit by using fminsearch: I am given this function: f(x)=Beta*exp(-(x-xc)^2/la...

environ 8 ans ago | 0 answers | 0

0

answers

Question


integration in matlab - error
I have to integrate the following expression (3*sin^4 x)/x^4 with 0 as lower limit and 3 as upper limit. my code is the fo...

environ 8 ans ago | 1 answer | 0

1

answer

Question


Calculting a function with limits
Hello guys. I have a two functions which i need to integrate by using an anonymous function. but for some reason i says er...

environ 8 ans ago | 2 answers | 0

2

answers

Question


using quad wrong or is it removed?
it says that i can't use quad as it will be removed in a future release. Can this reall be true, og am i doing something wrong w...

environ 8 ans ago | 1 answer | 0

1

answer

Question


lokal minimum and maximum
I want to find the lokal minimum, and mark it in the plot. I succed in the first go, but in the second, not so good. For somere...

environ 8 ans ago | 3 answers | 0

3

answers

Question


making points, rotating it, plotting.
p1=[0;0] p2=[sqrt(3/4);-1/2] p3=[sqrt(3/4);1/2] p4=[0;1] make a vector r from point p1 to p2: r=p2-p1 construct a new ...

environ 8 ans ago | 0 answers | 0

0

answers

Question


Getting started with an assignement
a ) Plot the measuret data. Plot a parabola, that are pretty close to the measuret data - use fx p=(-0.4 , 0.2 ,-0.015)...

environ 8 ans ago | 1 answer | 0

1

answer

Question


Rotation of a set of points
I am given 4 points, each is a corner of a plane to a box. p1=[0;0] p2=[sqrt(3/4);-1/2] p3=[sqrt(3/4);1/2] p4=[0;1] I want...

environ 8 ans ago | 1 answer | 0

1

answer

Question


Making a matrix dimension biggere
Okay I have two matrices k_fil = -46 -43 -26 -14 7 19 11 32 39 45 45 0 4 7 ...

environ 8 ans ago | 1 answer | 0

1

answer

Question


swap columns of a matrix
Hello guys/girls How do i swap columns?? I have this k_minus = -46 -43 -26 -14 7 19 11 32 ...

environ 8 ans ago | 3 answers | 0

3

answers

Question


Sum of an arrays elements
I have an assigntment which sounds like this: square each element in C and determine the sum of all C's elements How do i ...

environ 8 ans ago | 2 answers | 0

2

answers

Question


function plotting in matlab
Hello! :) I want to plot this function in a graph, but for some reason it doesn't want to that. this is the function: a...

environ 8 ans ago | 1 answer | 0

1

answer

Question


Filtering coordinats, and marking them
Yeah so I am new with Mathlab - So i was wondering how to mark every data coordinats with 'go', that is 1 unit length from (-1,-...

plus de 8 ans ago | 1 answer | 0

1

answer

Answered
Inserting a circle at specific coordinates
sorry I just edited the question, as I forgot to mention something.

plus de 8 ans ago | 0

Question


Inserting a circle at specific coordinates
I have a group of data, which when plotting gives me a circle. I want to have the circles center to be at (-1,1)in another plot ...

plus de 8 ans ago | 2 answers | 0

2

answers