Community Profile

# J Vard

14 2018 年以降の合計貢献数

#### J Vard's バッジ

How to create a color map of a Grid with different values at each grid point?
I have written a code for number density distribution of molecules in a framework (a molecular structure). I have a grid (in the...

4ヶ月 前 | 0 件の回答 | 0

### 0

Function 'fzero' display "Warning: Reached the limit on the maximum number of intervals in use. Approximate bound on error is 1.8e+01. The integral may not exist, or it may be difficult to approximate numerically to the requested accuracy"
Hi all, I have written the following code. I have used 'fzero' function to find the root of a single non-linear equation (x1, h...

7ヶ月 前 | 1 件の回答 | 0

### 1

Is my wife right?
Regardless of input, output the string 'yes'.

12ヶ月 前

Pizza!
Given a circular pizza with radius _z_ and thickness _a_, return the pizza's volume. [ _z_ is first input argument.] Non-scor...

12ヶ月 前

Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...

12ヶ月 前

Make the vector [1 2 3 4 5 6 7 8 9 10]
In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...

12ヶ月 前

Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

12ヶ月 前

Inspired by Problem 2008 created by Ziko. In mathematics, the persistence of a number is the *number of times* one must apply...

12ヶ月 前

How to solve integrals of non-linear equations, with unknowns in the upper limit of the integral?
Please check the image below for the form of equations. Both the integrals are equal to each other. I have used 'nlinfit' to fin...

### 0

How to calculate the unknown variable (in upper limit) in integration, which is present on both sides of the "equal to" operator?
Hi, I have an integral of the form, ∫ [f(t) d log⁡(t)] (over the limits 0 to Py/x1) = ∫ [f(t) d log⁡(t)] (over th...

### 0

How to read only the data between the single quotes in the following example?
I have a text file with data. In the data, the first column is letters (ex: C120) and the second, third and fourth columns are n...

### 1

How to read a text file, with first column containing letters, and edit the numbers keeping the first column same?
The image is as shown below. I want to read the numbers only from the text file, and edit them accordingly, keeping the letters ...

### 1

How to write a Monte Carlo simulation code, by metropolis method, where I have to do trail move based on the acceptance probability?
It si a one dimensional move. I have to consider only one particle. I have a funciton of energy U(x)=1/2*(x^2). Consider a start...

1年以上 前 | 0 件の回答 | 0

### 0

How to randomly generate two integers for N number of times?
I want to generate -1 and 1 randomly, for as many times I want. I am using it to develop a code for 1D walk model. Thanks

1年以上 前 | 1 件の回答 | 0