Robert101
Followers: 0 Following: 0
Feeds
提问
Using function in a serial code
I have a function shown below: function [ncell,phis,vac,nccel,ccell] = micro_poly_cell(Nx,Ny,ncell,R) format long; phis =...
2 years 前 | 1 个回答 | 0
1
个回答提问
What does [3, Inf] represents?
sizeA = [3 Inf]; Does it mean 3 rows and infinite colums? In the workspace it shows: sizeA = [3, Inf]. How to interpret it?
4 years 前 | 2 个回答 | 0
2
个回答提问
How to get convergence in Gradient descent algorithm?
I am trying to implement Gradient Descent Algorithm for linear regression. The X axis representes the year and Y axis the housin...
4 years 前 | 1 个回答 | 0
1
个回答提问
How to convert this 2D code segment with random number into the FORTRAN code?
Nx = 4 Ny = 4 c1 = 0.12 rr = 0.0001 for i=1:Nx for j=1:Ny D(i,j) =c1 + rr*(0.5-rand); end end It contains random numb...
4 years 前 | 2 个回答 | 0
2
个回答提问
Area fraction of particles from the image
I have contour plot showing the formation of particles after certain time. I want to know how to calculate the fraction of thes...
4 years 前 | 0 个回答 | 0
0
个回答提问
Exact value in excel sheet of function
How can i get the exact value in the first place instead of clicking on it and checking it out? The function is given as ...
5 years 前 | 1 个回答 | 0
1
个回答提问
How to save the iteration at every time step in this code?
K1 = 3.4; D1 = 1; D2 = 3.5; R1 = 5.0; p1 = 4.0; C1 = 1.0; C2 = 1.0; dt = 0.1; E1 = 1.0; Y1 = 1.0; for i=1:1000000 ...
5 years 前 | 1 个回答 | 0
1
个回答提问
My code is generating this error " Index exceeds matrix dimensions" . Apparently it looks fine. Still can not figure out the problem.
c1 = 0.1; c2 = 0.0001; L = 5.0; M = 0.04; P1 = 1.0e-2; P2 = 1.0e-5; for i=1:64 for j=1:64 C1(i,j) = c1 + P1*(...
5 years 前 | 1 个回答 | 0
1
个回答提问
How to solve this equation with two variables in one equation ?
A = 1; B = 1; for n=0.0:0.1:1.0 for c = 0.0:0.1:1.0 c0 = 1.13e-4; w = -A*(c-c0)^2*(n^4-3*n^2+2*n)+B...
5 years 前 | 1 个回答 | 0