Community Profile

photo

Mark Loui


Last seen: 12일 전
14 2021 이후 총 참여 횟수

Mark Loui's 배지

  • Thankful Level 2

세부 정보 보기...

참여 게시물
보기 기준

질문


How can i solve for this issue with the logical flow
n=length(q); coef=k*dt/dr; q_new=zeros(n,1); q(0)=0; % for i=1:n+1 % q_new(i)=q(i)+(coef*(q(i+1)-(2*q(i))+q(i-1))); ...

12일 전 | 답변 수: 1 | 0

1

답변

질문


Problem with something that I do not understand
Hi there i dont quite understand this problem it is saying H=uold; %frhs=@(H) -0.6*(((r^2)*(sqrt(2*g*H)))/((2*R*H)-H^2)); %T...

약 1달 전 | 답변 수: 1 | 0

1

답변

질문


A code to defined for the havlving for the trapezoidal rule
Hi i like to ask is there a version of the codes which enables me to find the xnew in the halving for the xnew in the Romberg in...

약 2달 전 | 답변 수: 1 | 0

1

답변

질문


Hi i need some help here to put this into a matlab
Hi there i need some help please How can i put these understanding into matlab form while err<tol %I have other sets of code...

약 2달 전 | 답변 수: 2 | 0

2

답변

질문


Getting a vector for different x value
Hi there i need some help please, i like to create a x value. this x value is determine by halfing the xnew value for example...

약 2달 전 | 답변 수: 1 | 0

1

답변

질문


Asking for meaning of this code of what this is. But in General this is the Romberg Integration method
Hi there i have a set of codes but it is hard to understand, i believe it is not a code hence i cannot type it out here, can i p...

약 2달 전 | 답변 수: 0 | 0

0

답변

질문


Getting the x from a function file to call inside another function file
Hi there i need help, i have written a function file lets say [m,c]=myfunction(x,y) where i defined the x and y inside this fun...

약 2달 전 | 답변 수: 1 | 0

1

답변

질문


Getting the if or while loop to work
Hi i like to ask for some help please n=20; iter_h=0; x=rand(n,1); for i=1:n-1 h(i,:)=x(i+1)-x(i) iter_h=iter_...

2달 전 | 답변 수: 1 | 0

1

답변

질문


Why is this output nothing and what can i change to make it work
n=20; x=rand(n,1) y=rand(n,1); RHS_empty=ones(n:1) iter_h=0 iter_a=0; for i=1:n-1 h(i)=x(i+1)-x(i); iter_h=ite...

2달 전 | 답변 수: 1 | 0

1

답변

질문


Inserting a row into the matrix in each iterations
Hi there i like to ask how can i insert a new row/colum into the matrix with each increasing of the iterations for i=1:n-1 ...

2달 전 | 답변 수: 1 | 0

1

답변

질문


How to get from a array to a vector
Hi there i have a question n=10; x=rand(n,1) for i=1:n-1 h(i)=x(i+1)-x(i); iter_h=iter_h+1; end I get the ou...

2달 전 | 답변 수: 1 | 0

1

답변

질문


Getting a diag function
Hi there im stuck with this problem and really would like help here n=length(x) %Let says is 20 x=rand(n,1); y=rand(n,1); ...

2달 전 | 답변 수: 0 | 0

0

답변

질문


How to get this into a loop
Hi there i like to ask how can i get this into a for loop x=rand(1,20) h1=(x(2,1)-x(1,1));%First interval h2=(x(3,1)-x(2,1))...

2달 전 | 답변 수: 2 | 0

2

답변

질문


Getting a increasing by the nxn matrix inside a for loop
HI there i dont quite understand how to get a matrix that is increasing by nxn matrix like for example n=100 for i=1:n mat...

2달 전 | 답변 수: 1 | 0

1

답변