# Mark Loui

**Statistics**

**MATLAB Answers**

**15** Questions

**0** Answers

RANK**76 222**

of 273 559

REPUTATION**0**

CONTRIBUTIONS

**15** Questions

**0** Answers

ANSWER ACCEPTANCE **
73.33%
**

VOTES RECEIVED**0**

RANK

of 18 459

REPUTATION**N/A**

AVERAGE RATING**0.00**

CONTRIBUTIONS**0** Files

DOWNLOADS **0**

ALL TIME DOWNLOADS**0**

RANK

of 123 031

CONTRIBUTIONS

**0** Problems

**0** Solutions

SCORE**0**

NUMBER OF BADGES**0**

CONTRIBUTIONS**0 Posts**

CONTRIBUTIONS**0** Public Channels

AVERAGE RATING

CONTRIBUTIONS**0** Highlights

AVERAGE NO. OF LIKES

**Content Feed**

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

answerQuestion

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

answerQuestion

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

answerQuestion

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

answerQuestion

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

answersQuestion

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

answerQuestion

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

answersQuestion

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

answerQuestion

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

answerQuestion

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

answerQuestion

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

answerQuestion

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

answerQuestion

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

answersQuestion

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

### 2

answersQuestion

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

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