Community Profile

photo

Teb Keb


Last seen: 8 månader ago Active since 2020

Statistics

  • Thankful Level 3

View badges

Content Feed

View by

Question


How to create a matrix with while loop?
I have a problem where I have to calculate the time it will take for a fluid to leave a container using while loop and give the ...

10 månader ago | 1 answer | 0

1

answer

Question


How to create a matrices using while loop?
Hi, I am creating a 6x3 matrices using while loop with the variable increments by 1 (increment=1:1:5). My codes seems to wo...

10 månader ago | 1 answer | 0

1

answer

Question


How to create a matrix array with increments equation using vectorization?
I am trying to create a matrices array after calculating the area and volume of a system with increment equations. Basically the...

10 månader ago | 1 answer | 0

1

answer

Question


How to find the partial sum of the series using while loop?
I need to find the partial sum of the series S=1/n for n=5 using while loop. n = 1 ; s = 0 ; while n<=5; s = s+1/n ; e...

10 månader ago | 2 answers | 0

2

answers

Question


How to extract rows and columns of matrix that will not equal to 0.
A = 5 3 2 4 1 5 3 2 4 1 5 3 2 4 1 5 3 2 4 1 5 3 ...

mer än ett år ago | 1 answer | 0

1

answer

Question


How to plot partial sums of fourier series?
I am trying to plot a partial sum n=1,2,3 and 10 using for loop function and then plot all the partial sums in one graph. Below...

ungefär 2 år ago | 1 answer | 0

1

answer

Question


How to plot sum of series?
I am trying to plot the function above on interval [-2,2]. I was wondering if the code below is a correct way to do it. ...

ungefär 2 år ago | 1 answer | 0

1

answer

Question


How to write ode45 function correctly
I am trying to solve 2nd order ODE using matlab and I am having a problem with my function file. My original equation is as ...

ungefär 2 år ago | 1 answer | 0

1

answer

Question


Invalid expression. When calling a function or indexing a variable, use parentheses. Otherwise, check for mismatched delimiters.
t=linspace(0,1.5,100); u1=1.75*cos(14.178*t); u2=exp(-0.89*t) u3=exp(-0.89*t)*(1.75*cos(14.178*t) The first 2 expression...

ungefär 2 år ago | 1 answer | 0

1

answer