# Wenchen Liu

Last seen: plus d'un an il y a Actif depuis 2021

Followers: 0   Following: 0

#### Feeds

Afficher par

Question

How can i fix this code with ploting a function
I want to plot this function, that is, N(10-N)=16e^0.25t with interval [0,10] and i tried: fplot(@(x) 16*exp.^0.25*x,[0 ...

plus d'un an il y a | 1 réponse | 0

### 1

réponse

Question

How can I fix this error?
I had a code like this: clear all, close all f = @(x)(4/(1+x^2)); a = 0; b = 1; F = @(x)(-8x/((1+x^2)^2)); % antiderivati...

plus d'un an il y a | 1 réponse | 0

### 1

réponse

Question

How can I a function on the interval
I got a equation: x+ln x = 0, and I want to plot it on the interval [0.1, 1] I have tried this code: f = @(x)x+log(x) fplot(f...

plus d'un an il y a | 1 réponse | 0

### 1

réponse

Question

How can i find the error in the interpolant
This is what have done so far: and the graph of this code shows like this: I want to find the error between this two ...

plus d'un an il y a | 1 réponse | 0

### 1

réponse

Question

How can I plot two functions in the same graph?
I have a code like this: fplot(@(x) cosh(x)) hold on p(x) = 0.6671x^3-1.7921x^2+2.7580x-0.089 fplot(@(x) p(x)) hold off ...

plus d'un an il y a | 2 réponses | 0

### 2

réponses

Question

sums up the same rounded numbers in 5-digit decimal arithmetic in n = 10, 9, 8, ..., 3, 2, 1
How do I write a matlab code for this? since n is in a reversw order.

plus d'un an il y a | 1 réponse | 0

### 1

réponse

Question

How could I sums up 1/n for n=1 to 10000?
I have a code like this, but I can't run it. n = 10000; % whatever you want sum_harm = 0; for i = 1:n sum_harm = sum_har...

plus d'un an il y a | 2 réponses | 0

### 2

réponses

Question

how can I fix the code for Segregation Model and population?
I have a code like this: % model function schell(grid_size,percent_empty,percent_p1,percent_p2) grid_size = 50; percent_empty...

plus de 2 ans il y a | 1 réponse | 0

### 1

réponse

Question

how to set up two different populations in a segregation model code?
I have a general code for the segregation model like the following: %% n = grid_size; grid_size = 50; n = grid_size; n2 = n^...

plus de 2 ans il y a | 1 réponse | 0

### 1

réponse

Question

please find the formula for Newton's Method applied to finding roots of z^3 - 1, and apply it to the complex matrix 20 times.
I was stuck with how to use Newton's Method to find the roots. How would the coding be? Please help me with the code.

plus de 2 ans il y a | 1 réponse | 0

### 0

réponse

Question

how can I create a complex matrix representing a grid of points with corners at -1 - i and 1 + i.
I want to know how to create a complex matrix representing a grid of points with corners at -1 - i and 1 + i. I was confused by ...

plus de 2 ans il y a | 1 réponse | 0

### 1

réponse

Question

How to plot differential equations?
I have a few differential equations with given values , and I want to plot these equation. What should I do to plot? Because I h...

plus de 2 ans il y a | 1 réponse | 0

### 0

réponse

Question

how do you define a matrix and its variable
I want to create a matrix , by i * j, in matlab, and then let matlab run this. I need to tell matlab what is i and what is j bef...

plus de 2 ans il y a | 1 réponse | 0

### 1

réponse

Question

Determine the associated system of differential equations.
i don't know how to start this question.

plus de 2 ans il y a | 1 réponse | 0

réponse