Community Profile

photo

Tristan


Active since 2013

Statistics

  • Thankful Level 3

View badges

Content Feed

View by

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...

10 years ago | 1 answer | 0

1

answer

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;...

10 years ago | 2 answers | 0

2

answers

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 ...

10 years ago | 2 answers | 0

2

answers

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 :(

10 years ago | 4 answers | 0

4

answers

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. ...

10 years ago | 1 answer | 0

1

answer

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...

10 years ago | 1 answer | 0

1

answer

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...

10 years ago | 1 answer | 0

1

answer

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...

10 years ago | 1 answer | 0

1

answer

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= ...

10 years ago | 1 answer | 0

1

answer

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, [...

10 years ago | 3 answers | 2

3

answers

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 ...

10 years ago | 2 answers | 0

2

answers

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 ...

10 years ago | 1 answer | 0

1

answer

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)

10 years ago | 7 answers | 0

7

answers

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.*...

10 years ago | 2 answers | 0

2

answers

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(...

10 years ago | 1 answer | 0

1

answer

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

10 years ago | 2 answers | 0

2

answers

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 ...

10 years ago | 1 answer | 0

1

answer

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...

10 years ago | 2 answers | 0

2

answers

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...

10 years ago | 1 answer | 0

1

answer

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*...

10 years ago | 2 answers | 1

2

answers