Community Profile

photo

Gaëtan Poirier


Last seen: 2 years 前 自 2017 起处于活动状态

Followers: 0   Following: 0

联系

统计数据

  • Thankful Level 3

查看徽章

Feeds

排序方式:

提问


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

4 years 前 | 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 ...

5 years 前 | 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,...

6 years 前 | 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...

6 years 前 | 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...

6 years 前 | 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...

6 years 前 | 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 ...

6 years 前 | 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...

6 years 前 | 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...

6 years 前 | 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...

6 years 前 | 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...

6 years 前 | 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...

6 years 前 | 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]*

6 years 前 | 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...

6 years 前 | 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...

6 years 前 | 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...

6 years 前 | 1 个回答 | 0

1

个回答