統計
All
Feeds
質問
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...
5年弱 前 | 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...
約5年 前 | 1 件の回答 | 0
1
回答解決済み
Pizza!
Given a circular pizza with radius _z_ and thickness _a_, return the pizza's volume. [ _z_ is first input argument.] Non-scor...
5年以上 前
解決済み
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 ...
5年以上 前
解決済み
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...
5年以上 前
解決済み
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:...
5年以上 前
解決済み
Additive persistence
Inspired by Problem 2008 created by Ziko. In mathematics, the persistence of a number is the *number of times* one must apply...
5年以上 前
質問
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...
5年以上 前 | 0 件の回答 | 0
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...
6年弱 前 | 0 件の回答 | 0
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...
6年弱 前 | 1 件の回答 | 0
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 ...
6年弱 前 | 1 件の回答 | 0
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...
約6年 前 | 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
約6年 前 | 1 件の回答 | 0