Community Profile

photo

Gaëtan Poirier


Last seen: 約2ヶ月 前 2017 以来アクティブ

Statistics

  • Thankful Level 2

バッジを表示

Content Feed

表示方法

質問


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

2年以上 前 | 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 ...

2年以上 前 | 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,...

4年弱 前 | 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...

4年弱 前 | 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...

約4年 前 | 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...

約4年 前 | 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 ...

約4年 前 | 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...

約4年 前 | 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...

約4年 前 | 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...

約4年 前 | 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...

約4年 前 | 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...

約4年 前 | 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]*

約4年 前 | 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...

約4年 前 | 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...

約4年 前 | 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...

約4年 前 | 1 件の回答 | 0

1

回答