Community Profile # Mark Loui

Last seen: mer än ett år ago Active since 2021

#### Statistics

• #### Content Feed

View by

Question

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

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

### 1

Question

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

nästan 2 år ago | 1 answer | 0

### 1

Question

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

nästan 2 år ago | 1 answer | 0

### 1

Question

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

nästan 2 år ago | 1 answer | 0

### 1

Question

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

nästan 2 år ago | 2 answers | 0

### 2

Question

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

nästan 2 år ago | 1 answer | 0

### 1

Question

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

nästan 2 år ago | 0 answers | 0

### 0

Question

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

nästan 2 år ago | 1 answer | 0

### 1

Question

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

nästan 2 år ago | 1 answer | 0

### 1

Question

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

nästan 2 år ago | 1 answer | 0

### 1

Question

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

nästan 2 år ago | 1 answer | 0

### 1

Question

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

nästan 2 år ago | 1 answer | 0

### 1

Question

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

nästan 2 år ago | 0 answers | 0

### 0

Question

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

nästan 2 år ago | 2 answers | 0