Community Profile

# Gaëtan Poirier

16 2017 이후 총 참여 횟수

#### Gaëtan Poirier's 배지

세부 정보 보기...

참여 게시물
보기 기준

질문

I have multiple equations that depend on a specific value and would like matlab to ask the user which equation to use and what the specific value is and then print that value but it's giving me trouble.
I would like to start by saying I am utterly miserable at coding (somewhat of a beginner) and the following might be the worst t...

약 1년 전 | 답변 수: 3 | 0

### 3

답변

질문

Finding every point of intersection between any number of circles and ellipses centered at the origin
I'm trying to find each possible coordinate point of intersection between any number of circles and any number of ellipses, all ...

1년 이상 전 | 답변 수: 1 | 0

### 1

답변

질문

How can I create a matrix of black and white blocks given probability p of being black or white?
I want to create a 10x10 matrix of 0's. There is a probability p of the 0 becoming a 1. If the block is a 1, the block is black,...

3년 이하 전 | 답변 수: 2 | 0

### 2

답변

질문

How do I change it so there are multiple "starting matrices?"
I have a fire percolation problem which simulates a fire spreading along a 100x100 lattice. Currently, I have it so the starting...

3년 이하 전 | 답변 수: 1 | 0

### 1

답변

질문

How could I find the integral of a function given this code?
I'm having trouble with a simple Monte Carlo integration code. It is as follows: %define variables Fun = @(x) x^2; a...

3년 이하 전 | 답변 수: 1 | 0

### 1

답변

질문

How could I translate this Python code to Matlab?
I have this python code that I would like to convert to Matlab code. Could anyone help me understand what is going on and help c...

3년 이하 전 | 답변 수: 2 | 0

### 2

답변

질문

Could anyone help translate this Python code to Matlab code?
I would appreciate if someone could help me translate the following Python code to Matlab code: import random N = 10 ...

3년 이하 전 | 답변 수: 0 | 0

### 0

답변

질문

How do I integrate a definite integral using the metropolis algorithm?
I don't quite understand how I would go about this? I understand that I have a random walk that samples the function, given by...

3년 이하 전 | 답변 수: 0 | 0

### 0

답변

질문

How do I sample a function using the metropolis algorithm?
f(x)=exp(-x/lambda)*1/lambda Write a program to sample f(x) by the Metropolis algorithm. Start from any position you like. Eq...

3년 이하 전 | 답변 수: 0 | 0

### 0

답변

질문

How would I start this problem?
We consider again the one-dimensional version of the drunkard problem. This time he starts out at position x (e.g., x=10), and t...

3년 이하 전 | 답변 수: 1 | 0

### 1

답변

질문

Need help with a problem
There is a program I have one part I have to modify, could anyone help with this? function y = run (lambda, n_mea, n_smpls...

3년 이하 전 | 답변 수: 0 | 0

### 0

답변

질문

Normalize a histogram modification
What do I need to put in to normalize the distribution? function y = mkhist(lambda, n_mea, n_smpls_per_mea) %progr...

3년 이하 전 | 답변 수: 0 | 0

### 0

답변

질문

Help on a Histogram function–need to modify one line
Histogram function, need to modify one line. *[EDITED, Jan, copy righted code removed]*

3년 이하 전 | 답변 수: 0 | 0

### 0

답변

질문

Problem with a lab
I have a lab problem. It says to write a program to iteratively generate points in two-dimensional space using the following rul...

약 3년 전 | 답변 수: 1 | 0

### 1

답변

질문

Help on a problem
I have this problem and I'm wondering if anyone can help me to figure it out. It goes as follows: write a program to iterativel...

약 3년 전 | 답변 수: 1 | 0

### 1

답변

질문

How do I take the average of every 50th term in a 2500x1 vector?
I have a 2500x1 vector and I'm trying to find if the average of the average of every 50th term equals the average of all 2500 va...

약 3년 전 | 답변 수: 1 | 0

답변