photo

Tristan


Actif depuis 2013

Followers: 0   Following: 0

Message

Statistiques

  • Thankful Level 3

Afficher les badges

Feeds

Afficher par

Question


Is there a way to slow down matlab?
whenever I use matlab to do anything really complicated everything on my computer just stops working until it finishes, is there...

presque 11 ans il y a | 1 réponse | 0

1

réponse

Question


Problem with symsum using infinity as the upper limit of the variable.
*I'm not sure if I'm using symsum correctly, why can't matlab give me an aswer when m is equal to infinity?* >> m=1000;...

presque 11 ans il y a | 2 réponses | 0

2

réponses

Question


array made of an infinite number of elements
Hi, the smaller I make t, the more precise the shape of c becomes, but is there a simple way to see what c would look like if t ...

presque 11 ans il y a | 2 réponses | 0

2

réponses

Question


How to get the Least common multiple of a fractional number
for example: >> lcm(8,20) ans = 40 works >> lcm(1.6,1) doesn't work :(

environ 11 ans il y a | 4 réponses | 0

4

réponses

Question


problem indexing a matrix from arrays
I want matlab to return all the elements of p2 at rows r columns c, I tried p2(r,c), but that doesn't give me the right answer. ...

environ 11 ans il y a | 1 réponse | 0

1

réponse

Question


problem using matrix indexing with bsxfun.
I'd like to calculate only A(a)*B(b), while keeping the original format of bsxfun(@times,A,B) >> A=[-1 2 -3;4 -5 6;-7 8 -9...

environ 11 ans il y a | 1 réponse | 0

1

réponse

Question


problem using if with two vectors
for example if I have : >> A=[1 -2 -8 4 19 -6 7 -18 9]; >> B=[-16 1 2 -4 -19 6 -17 18 -9]; and I'd like to create a new...

environ 11 ans il y a | 1 réponse | 0

1

réponse

Question


How to ignore new values?
for example, if I have: >> p1=5;p2=3; and I want to calculate: >> p1=p1-p2;p2=p1+p2 p2 = 5 because matlab...

environ 11 ans il y a | 1 réponse | 0

1

réponse

Question


How to turn a matrix into a Multidimensional Array?
for example if I have: >> A=[2 8; 0 5] A = 2 8 0 5 and I want to separate each row so that A= ...

environ 11 ans il y a | 1 réponse | 0

1

réponse

Question


How to multiply Multidimensional Arrays with a column vector
I want to multiply A with B so that C(:,:,1) is equal to A(:,:,1)*B(1) and C(:,:,2) is equal to A(:,:,2)*B(2) >> A = cat(3, [...

environ 11 ans il y a | 3 réponses | 2

3

réponses

Question


How to multiply two matrices together?
I need to create a new matrix C which is the sum of A multiplied by B(1)=1.7 and B(2)=1.1 >> A = [12 62 93 -8 22; 16 2 87 43 ...

environ 11 ans il y a | 2 réponses | 0

2

réponses

Question


error using fzero in a loop
I'm trying to find all the points between 0 and 10 where the derivative of y=0 by using (x1(H)+x2(H))/2) as a staring point but ...

environ 11 ans il y a | 1 réponse | 0

1

réponse

Question


Finding the zeros of a function
I need to find where y=0 within 0<x<100 y=5*sin(1.9*x)+2.1*sin(9.1*x)

environ 11 ans il y a | 7 réponses | 0

7

réponses

Question


storing data in an array from a loop
I have: A1=(1:1:10)*1.22'; A2=(1:1:10)*2.55'; for cc=(A1+A2)/2; G1=[1 2]; G2=[2.6 1.1]; X=(fsolve(@(x)sum(G1.*...

environ 11 ans il y a | 2 réponses | 0

2

réponses

Question


using fsolve with arrays
for example, if I had: G1=(1:1:10)*0.181881788 G2=(1:1:10)*1.281888281 and I need to find where sum(G1*sin(...

environ 11 ans il y a | 1 réponse | 0

1

réponse

Question


How to use fnzeros to find the zeros of a function?
For example I have y=sin(x*5)+sin(x*2) and I need to find where y=0 between x=-10 and x=+10

environ 11 ans il y a | 2 réponses | 0

2

réponses

Question


problem with if in a matrix
I have a matrix g: >> g=sin((1:1:10)'*(1:1:2)) g = 0.8415 0.9093 0.9093 -0.7568 0.1411 -0.2794 ...

environ 11 ans il y a | 1 réponse | 0

1

réponse

Question


how to return only true statements
for example, if I have: >> e=[1 -7 -1.2 6 -9 19 1.8] and I want matlab to give me only the true statements for e>0 as i...

environ 11 ans il y a | 2 réponses | 0

2

réponses

Question


Concatenation problem with a loop
*How would you concatenate the two different results for D?* >> for X=[1.5 1.7], D=(X*440)*(1:1:ceil(2000/(X*440))) end...

environ 11 ans il y a | 1 réponse | 0

1

réponse

Question


MATLAB help (finding all the possible values for x)?
Hi, I'm new to MATLAB, I need to find all the possible values for x knowing that: 0<x<10 and 1.8*cos(1.8*x)+1.2*...

environ 11 ans il y a | 2 réponses | 1

2

réponses