Community Profile

photo

Mark Loui


Last seen: 3ヶ月 前 2021 以来アクティブ

Statistics

  • Thankful Level 2

バッジを表示

Content Feed

表示方法

質問


Plotting 3D graph with 3 different set of coordinates
HI there I need some help please, %Node 1 x1=-419;y1=-341;z1=30; z2=15; z3=0; hold on plot(x1,y1,z1) hold on plot(x1,y...

3ヶ月 前 | 1 件の回答 | 0

1

回答

質問


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

6ヶ月 前 | 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...

6ヶ月 前 | 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...

7ヶ月 前 | 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...

7ヶ月 前 | 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...

7ヶ月 前 | 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...

7ヶ月 前 | 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...

7ヶ月 前 | 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_...

7ヶ月 前 | 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...

7ヶ月 前 | 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 ...

7ヶ月 前 | 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...

7ヶ月 前 | 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); ...

7ヶ月 前 | 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))...

7ヶ月 前 | 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...

7ヶ月 前 | 1 件の回答 | 0

1

回答